bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2 fails to probe Mandriva


From: wolf python london
Subject: grub2 fails to probe Mandriva
Date: Sun, 5 Dec 2010 21:49:45 +0800

when I install Mandriva in my machine , grub2 cannot probe Mandriva propely .
the grub.cfg generated by grub is :
#### just a slice of grub.cfg
menuentry "linux (on /dev/sda11)" {
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos11)'
    search --no-floppy --fs-uuid --set f4deab0a-b37c-426f-bb35-f997fd2c9940
    linux /boot/vmlinuz BOOT_IMAGE=linux
root=UUID=f4deab0a-b37c-426f-bb35-f997fd2c9940
resume=UUID=23a9b6ac-b275-4066-8223-
b0ad9e0051ea
    initrd (hd0,10)/boot/initrd.img
}
####

here in the "set root='(hd0,msdos11)' line , it means the boot dir is
in the /dev/sda11 in my machine ,it's ok .
but in the "initrd (hd0,10)/boot/initrd.img", it add a "(hd0,10)",
which is nonsense and wrong .

However ,it probes the openSUSE 11.3 properly . below is the grub.cfg :
###part of slice of grub.cfg
menuentry "Desktop -- openSUSE 11.3 - 2.6.34.7-0.5 (on /dev/sda12)" {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos12)'
        search --no-floppy --fs-uuid --set bff01541-50d4-4428-9c65-4d0cdb25cfb8
        linux /boot/vmlinuz-2.6.34.7-0.5-desktop
root=/dev/disk/by-id/ata-WDC_WD10EADS-65M2B0_WD-WMAV51524747-part12
resume=/dev
/disk/by-id/ata-WDC_WD10EADS-65M2B0_WD-WMAV51524747-part8
splash=silent quiet showopts
        initrd /boot/initrd-2.6.34.7-0.5-desktop
}
####
the "set root='(hd0,msdos12)'" is ok . The "initrd
/boot/initrd-2.6.34.7-0.5-desktop" line  is ok ,too ,and grub2 doesn't
add a "(hd0,xx)" here .


my grub is in Debian Squeeze :

address@hidden:/tmp# uname -a
Linux debian 2.6.36.1 #1 SMP Fri Dec 3 19:16:42 CST 2010 i686 GNU/Linux
address@hidden:/tmp# grub-bin2h -V
grub-bin2h (GRUB) 1.98+20100804-8

thanks ~

-- 
________________________
wolf python london(WPL)
Do as you soul should do !
________________________



reply via email to

[Prev in Thread] Current Thread [Next in Thread]