Bug#614516: grub2 in Debian Squeeze failed to probe the Mandriva 2010.2

wolf london wolfpythonlondon at gmail.com
Tue Feb 22 04:20:14 UTC 2011


Package: grub-pc  and grub-common

Version: 1.98+20100804-14

I have Debian(Squeeze, wheezy,sid) and Mandriva 2010.2 on my desktop
.Since the bootloader in Mandriva is still the grub legacy ,
I decide to use the grub2 (shipped with Debian Squeeze) to
automatically probe other OSs and boot them .However it failed to boot
the Mandriva 2010.2  and others(Squeeze and wheezy,sid) is fine.

$update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found Debian GNU/Linux (wheezy/sid) on /dev/sda11
Found Mandriva Linux 2010.2 (2010.2) on /dev/sda12
Found Debian GNU/Linux (wheezy/sid) on /dev/sda3
done

I check it out that it is the grub.cfg that matters .
below is the slice of grub.cfg :

menuentry "linux (on /dev/sda12)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos12)'
        search --no-floppy --fs-uuid --set 400983b6-97a0-4930-a1c6-e2310057ce21
        linux /boot/vmlinuz BOOT_IMAGE=linux
root=UUID=400983b6-97a0-4930-a1c6-e2310057ce21
resume=UUID=65c3d3e5-a0a8-4d7b-88c0-c93cf16d867d splash=silent vga=788
        initrd (hd0,11)/boot/initrd.img
}

the "set root" line is ok (Mandriva is in /dev/sda12 ),but
the "initrd " line is wrong , it adds (hd0,11) before /boot/initrd.img
 which is verbose and wrong .  I think it should be " initrd
/boot/initrd.img ".
In case of something I get wrong ,I put the grub.cfg here
(https://gist.github.com/838220)

I'm using Debian Squeeze (stable),kernel 2.6.32-5-686.





More information about the Pkg-grub-devel mailing list