tune2fs: "bad magic number in super-block"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

tune2fs: "bad magic number in super-block"

Post by ^rooker »

[PROBLEM]
I was trying to set a fsck on next reboot on my / partition.
So I did:

Code: Select all

$ sudo tune2fs -c 1 /dev/sdb1
...and my heart almost stopped when I got this error :shock: :
tune2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
[SOLUTION]
The boot partition created by Xubuntu Xenial (16.04) on EFI is vfat formatted.

tune2fs works only with ext2, ext3 and ext4 formatted partition. In my case, this was (surprise!) /dev/sdb2


Have a great day! :D
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply