Bug#555394: os-prober: similar situation here
Package: os-prober
Version: 1.35
Severity: normal
I'm seeing something similar here. However, I am able to make the
partition be detected from the Debian GNU/Linux "sid" side by first
doing:
mount -t ufs -o ro,ufstype=ufs2 /dev/hda1 /mnt
I got the hint from the error message:
Nov 24 23:11:56 lenny os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/hda1
Nov 24 23:11:56 lenny kernel: [ 500.924369] You didn't specify the type of your ufs filesystem
Nov 24 23:11:56 lenny kernel: [ 500.924374]
Nov 24 23:11:56 lenny kernel: [ 500.924376] mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...
Nov 24 23:11:56 lenny kernel: [ 500.924380]
Nov 24 23:11:56 lenny kernel: [ 500.924382] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
Nov 24 23:11:56 lenny kernel: [ 500.924695] ufs_read_super: bad magic number
Now, os-prober finds the partition but mis-detects it as Debian
GNU/Linux (as opposed to GNU/kFreeBSD):
# os-prober
/dev/hda1:Debian GNU/Linux (squeeze/sid):Debian:linux
update-grub also detects gnu/linux and creates an incorrect boot menu
for it:
[...]
Found Debian GNU/Linux (squeeze/sid) on /dev/hda1
Oddly enough, it doesn't actually add anything to the grub.cfg... But
that's a separate issue, I guess...
A.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages os-prober depends on:
ii libc6 2.10.2-1 GNU C Library: Shared libraries
os-prober recommends no packages.
os-prober suggests no packages.
-- no debconf information
Reply to: