Comment 37 for bug 1579609

Revision history for this message
Eric Desrochers (slashd) wrote :

Today I helped a users with the exact same problem :

os-prober: debug: running /usr/lib/os-probes/10zvol-test on /dev/sda1
os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda1
kernel: [3178302.911951] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
kernel: [3178302.913401] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
kernel: [3178302.915005] EXT4-fs (sda1): VFS: Can't find ext4 filesystem
kernel: [3178302.916449] squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on sda1
kernel: [3178302.917854] FAT-fs (sda1): bogus number of reserved sectors
kernel: [3178302.917857] FAT-fs (sda1): Can't find a valid FAT filesystem
kernel: [3178302.924998] XFS (sda1): Invalid superblock magic number
kernel: [3178302.927397] FAT-fs (sda1): bogus number of reserved sectors
kernel: [3178302.927399] FAT-fs (sda1): Can't find a valid FAT filesystem
kernel: [3178302.930445] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device sda1.
kernel: [3178302.931694] hfsplus: unable to find HFS+ superblock
kernel: [3178302.932769] qnx4: no qnx4 filesystem (no root dir).
kernel: [3178302.933677] ufs: You didn't specify the type of your ufs filesystem
kernel: [3178302.933677]
kernel: [3178302.933677] mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...
kernel: [3178302.933677]
kernel: [3178302.933677] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
kernel: [3178302.933997] ufs: ufs_fill_super(): bad magic number
kernel: [3178302.935226] hfs: can't find a HFS filesystem on dev sda1

$ dpkg -l | grep 'os-prober'
ii os-prober 1.70ubuntu3 amd64 utility to detect other OSes on a set of drives

$ . /usr/share/os-prober/common.sh
$ fs_type /dev/sda1

fs_type doesn't return with an error code.

The user installed os-prober (1.70ubuntu3.3) found in xenial-proposed, and problem is now solved :

os-prober: debug: running /usr/lib/os-probes/10zvol-test on /dev/sda1
os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda1

- Eric