update-grub generates an incorrect entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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_
menuentry "Fedora release 11 (Leonidas) (on /dev/sda6)" {
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 4c6e1491-
linux /boot/vmlinuz-
}
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-
# 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://
100 /var/lib/
# 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://
100 /var/lib/
Please see my thread at http:// ubuntuforums. org/showthread. php?p=8063611# post8063611 to determine if this is the same bug. It caught my eye because I was running Jaunty with a /boot partition and installation of the Karmic beta with grub2 left my Jaunty install unbootable. (I have not figured out what to change to fix it.)
thanks,
hank