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....

tune2fs: "bad magic number in super-block"

Postby ^rooker » Sun Oct 06, 2019 2:35 am

[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
  • 0

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!
User avatar
^rooker
Site Admin
 
Posts: 1449
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 4 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot] and 63 guests

cron
Reputation System ©'