lucid update-grub wrong root=UUID=
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: grub2
I got 3 partitions, one for /boot, and other two for systems
/dev/sda1 is the /boot
/dev/sda2 is the /root_for_karmic
/dev/sda3 is the /root_for_lucid
When I do update-grub, it asigns the same root UUID to all of the systems be there a /dev/sda2 or a /dev/sda3
Below is the grub.cfg portion:
---
### BEGIN /etc/grub.
menuentry "Ubuntu, Linux 2.6.32-18-generic (on /dev/sda3)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set fff54eca-
linux /vmlinuz-
initrd /initrd.
}
menuentry "Ubuntu, Linux 2.6.32-18-generic (recovery mode) (on /dev/sda3)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set fff54eca-
linux /vmlinuz-
initrd /initrd.
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (on /dev/sda3)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set fff54eca-
linux /vmlinuz-
initrd /initrd.
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode) (on /dev/sda3)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set fff54eca-
linux /vmlinuz-
initrd /initrd.
}
### END /etc/grub.
---
Here's an fdisk -l output:
---
root@rivalry:~ ~# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x62f2a7cc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 122 979933+ 83 Linux
/dev/sda2 123 1228 8883945 83 Linux
/dev/sda3 1229 2444 9767520 83 Linux
/dev/sda4 2445 30401 224564571+ 5 Extended
/dev/sda5 2445 2930 3903763+ 82 Linux swap / Solaris
/dev/sda6 2931 30401 220660776 83 Linux
---
I was using today's build of lucid-desktop.
Yeah, same problem with all Lucid versions up to Beta 1 now. I also have a separate /boot partition (ext2), karmic on /dev/sda5 and and lucid on /dev/sda8 . Whenever I update grub.cfg via some kernel update in Lucid, Lucids's UUID is written to all entries in grub.cfg which makes Karmic not bootable any more. I manually have to revert the changes. Seems to be similar to bug 392836 or bug 462961, but they're marked as fixed...