[Bug 442631] [NEW] update-grub generates an incorrect entry

vedoham tammam at tammam.net
Sun Oct 4 22:21:00 UTC 2009


Public bug reported:

Binary package hint: grub2

sda1 swap
sda2 extended
sda5 Karmic beta

Installed Fedora 11 on sda6 (/) and sda7 (/boot) [because, by default,
sda6 is an ext4 partition and F11 assumes grub 0.x and requires /boot on
an ext3 partition).

Skipped the bootloader setup when installing F11 so as to stick to
Karmic's grub2.

Booted into Karmic and ran update-grub, which generated the following
entry ("GRUB_DISABLE_LINUX_UUID=true" set in order to file the bug):

menuentry "Fedora release 11 (Leonidas) (on /dev/sda6)" {
       insmod ext2
       set root=(hd0,6)
       search --no-floppy --fs-uuid --set 4c6e1491-1374-40d4-be8b-2647c714685e
       linux /boot/vmlinuz-2.6.30.8-64.fc11.i586 root=/dev/sda6
}

Was unable to boot into F11 and had to make three changes:
3rd line: (hd0,6) to (hd0,7)
4th line: deleted (had no idea what the UUID of sda7 was at the grub menu)
5th line: /boot/vmlinuz-2.6.30.8-64.fc11.i586 to /vmlinuz-2.6.30.8-64.fc11.i586

# lsb_release -rd
Description:    Ubuntu karmic (development branch)
Release:        9.10

# apt-cache policy grub-common
grub-common:
 Installed: 1.97~beta3-1ubuntu6
 Candidate: 1.97~beta3-1ubuntu6
 Version table:
 *** 1.97~beta3-1ubuntu6 0
       500 http://us.archive.ubuntu.com karmic/main Packages
       100 /var/lib/dpkg/status

# apt-cache policy grub-pc
grub-pc:
 Installed: 1.97~beta3-1ubuntu6
 Candidate: 1.97~beta3-1ubuntu6
 Version table:
 *** 1.97~beta3-1ubuntu6 0
       500 http://us.archive.ubuntu.com karmic/main Packages
       100 /var/lib/dpkg/status

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


** Tags: grub-common grub-pc grub2

-- 
update-grub generates an incorrect entry
https://bugs.launchpad.net/bugs/442631
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