Bug#640394: os-prober fails to recognize root partition
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: os-prober
Version: 1.49
os-prober fails to recognize a Debian root disk (sda2). Instead it
sees a MSDOS disk and tells grub to use a chain loader, but of
course this doesn't work, since there is no mbr installed on this
partition.
# os-prober
/dev/sda1:Ubuntu oneiric (development branch) (11.10):Ubuntu:linux
/dev/sda2:MS-DOS 5.x/6.x/Win3.1:MS-DOS:chain
# blkid | grep sda
/dev/sda1: UUID="a9cd01cd-a53d-4edf-9a6c-dd5203477e95" TYPE="ext4"
/dev/sda2: LABEL="debian" UUID="af0b76b9-e91e-4bbd-a64c-b1a6199982bf" TYPE="ext4"
/dev/sda3: LABEL="swap" UUID="55a05f9b-346d-46c8-87a6-b0b8b2f5ad37" TYPE="swap"
/dev/sda4: LABEL="export" UUID="e1f404ed-b77d-4c24-91d1-7ff69540fdfa" TYPE="ext4"
# fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x28000000
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 62492671 31245312 83 Linux
/dev/sda2 62492672 96047103 16777216 83 Linux
/dev/sda3 96047104 104435711 4194304 82 Linux swap / Solaris
/dev/sda4 104435712 312581807 104073048 83 Linux
Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk5jz58ACgkQUTlbRTxpHjd/CQCfUJo6IbxZPAQvw0Sz7t2XRxqv
uSIAn2EUwZos5t9WGBttmvpAPK4r3h6n
=hkyu
-----END PGP SIGNATURE-----
Reply to: