[Bug 408209] [NEW] Grub 2 multiboot config wrong with Mandriva

J.A. Watson j.a.watson at bluewin.ch
Mon Aug 3 05:38:49 UTC 2009


Public bug reported:

Binary package hint: grub-pc

Installing Karmic Alpha 3 on multi-boot systems, with Mandriva 2009.1
(or its derivatives) being one of the other installed distributions.
Mandriva puts the partition information in menu.lst on the "kernel" and
"initrd" lines, like this:

title linux
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=cbe56721-313a-49c2-9e06-6ac78a5df00f resume=UUID=ed97fbf1-7965-465f-8a29-5698bb23502d splash=silent vga=788
initrd (hd0,5)/boot/initrd.img

When Grub 2 creates its grub.cfg (and previously
/etc/grub.d/30_otheros), it correctly strips the device specification
from the kernel line and converts it to a "root" specification, but it
does not strip the device from the initrd line, and thus leaves an
invalid boot specification such as this:

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
menuentry "linux (on /dev/sda6)" {
        set root=(hd0,6)
        search --no-floppy --fs-uuid --set cbe56721-313a-49c2-9e06-6ac78a5df00f
        linux /boot/vmlinuz BOOT_IMAGE=linux root=UUID=cbe56721-313a-49c2-9e06-6ac78a5df00f resume=UUID=ed97fbf1-7965-465f-8a29-5698bb23502d splash=silent vga=788
        initrd (hd0,5)/boot/initrd.img
}

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Grub 2 multiboot config wrong with Mandriva
https://bugs.launchpad.net/bugs/408209
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list