I was trying to install some software when it “Failed to execute operation”:
After that the Raspi was no longer responding. So I decided to switch it off and on when it paniced:
I followed @sam_nazarko advise and did a filesystem check which said the following:
root@kali:~# fsck.ext4 /dev/sdc
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_open2: Bad magic number in super-block
fsck.ext4: Superblock invalid, trying backup blocks…
fsck.ext4: Bad magic number in super-block while trying to open /dev/sdc
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193
So, is there any option to repair the filesystem or is the sd card simply broken (which would be interessing, I’ve flashed the card only 3-4 times in total and didnt do much operations)?
PS:
I’m on a mac, is there any way to do it from there ?
I dont think so, Windows and Macs do not support ext-filesystems.