Right after installing, I began having system crashes while trying to do updates. After a few in a row, I’m now getting the "bad magic number, bad superblock" error.
I have spent quite a bit of time reading many guides and threads on this matter (including this one: Swap:superblock - openSUSE ) , but after trying the suggested solutions, it looks like I’m facing a reinstall, but I hope you guys can give me some other options. I just don’t understand why the super block restore isn’t working.
Here’s what I’ve tried thus far (sda6 is root, sda2 is boot):
-
fdisk -l : to confirm partition labeling
-
dumpe2fs /dev/sda6 : to verify backup superblock locations
-
e2fsck -b 32768 /dev/sda6 : restore superblock
-
e2fsck -c -f -v /dev/sda6 : repair file system
When going through this process, it first reports that I have multiple checksum errors (maybe more, can’t recall of the top of my head).
I then choose to fix the errors. It states that the errors have been repaired, and the final report shows zero bad blocks.
Then I reboot, but I still get the same ‘bad magic number in superblock’ error. I have tried backup block 163840 and 98304 with the same results.
Everywhere I’ve looked, people trying this repair are successful, but I’m not! So, what do you think has gone wrong that is preventing the superblock repair, and what can I do at this point?
It’s a brand new install, so it won’t kill me to reinstall it, but I am trying to learn Linux as I run into problems like this, so if I can fix it, then I’d like to try. Thanks for any help!
Oh I should also mention that the boot message also mentions attempting to restore from the swap partition…two messages about that, but I don’t think it showed any errors, and there wasn’t anything listed that mentioned a connection between the two. My guess is that those wouldn’t be related at all, but…
I also have multiple distros on disk, ftr. I’m experienced with partitioning so I’m 100% certain I didn’t overwrite anything, plus, I can access the data on the partition from my other distros, so it’s apparently just a boot problem.