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
[SOLUTION]tune2fs: Bad magic number in super-block while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.
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!