grub-devel
[Top][All Lists]
Advanced

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

os-prober incorrectly generates stanza - wrong root= device.


From: Chris Jones
Subject: os-prober incorrectly generates stanza - wrong root= device.
Date: Tue, 27 Oct 2009 23:23:08 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

While detecting other kernels, update-grub generates the following:

menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (on /dev/sda12)" {   
                 
        insmod ext2                                                             
                 
        set root=(hd0,12)                                                       
                 
        search --no-floppy --fs-uuid --set 042b6b67-5464-426e-a60a-21b71dfbcb74 
                 
        linux /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda5 ro            
                 
        initrd /boot/initrd.img-2.6.24-etchnhalf.1-686                          
                 
}                                                                               
                 
menuentry "Debian GNU/Linux, kernel 2.6.24-etchnhalf.1-686 (single-user mode) 
(on /dev/sda12)" { 
        insmod ext2                                                             
                 
        set root=(hd0,12)                                                       
                 
        search --no-floppy --fs-uuid --set 042b6b67-5464-426e-a60a-21b71dfbcb74 
                 
        linux /boot/vmlinuz-2.6.24-etchnhalf.1-686 root=/dev/hda5 ro single     
                 
        initrd /boot/initrd.img-2.6.24-etchnhalf.1-686                          
                 
}                                                                               
                 

/dev/sda12 is the correct partition, which is correctly reported in the
menuentry and set root= statements, but not on the linux statement.

The result, when trying to boot these entries, is that another system
which has its /root & /root/boot on /dev/sda5 is booted instead.

This happens with grub 1.97 as shipped by ubuntu 9.10.

Not sure this qualifies as a bug, or just incorrect setup my end.

Thanks,

CJ




reply via email to

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