update-grub makes grub2 point on an incorrect UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi
'lsb_release -rd'
Description: Ubuntu 12.04.2 LTS
Release: 12.04
'apt-cache policy pkgname'
N: Impossible de trouver le paquet pkgname
The bug I want to report is very similar to bug #442631, maybe even the same bug. I however report the present bug as, to my understanding, bug #442631 has not been cleared.
Here is my partitions block id's
remi@remi-
[sudo] password for remi:
/dev/sda10: LABEL="
/dev/sda11: LABEL="maisonnette" UUID="dea2a123-
/dev/sda2: LABEL="OS" UUID="AC7C4EC27
/dev/sda5: LABEL="xubuntu" UUID="5193ea50-
/dev/sda6: LABEL="ciel_remi" UUID="498F2C6F4
/dev/sda9: LABEL="Archives" UUID="5ecd6806-
/dev/sda1: LABEL="Data" UUID="3ee2811f-
/dev/sda4: LABEL="swap" UUID="857dda1a-
/dev/sda7: LABEL="Pingolin" UUID="bedf892b-
/dev/sda8: LABEL="Multimedia" UUID="3b5a9083-
/dev/sda12: LABEL="boot" UUID="1022a339-
remi@remi-
I've got a boot partition on /dev/sda12, nammed "boot
Here is a regular menuentry to boot to Ubuntu 12.04 Precise Pingolin on /dev/sda7
menuentry 'Ubuntu, avec Linux 3.2.0-41-
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(
search --no-floppy --fs-uuid --set=root 1022a339-
linux /vmlinuz-
initrd /initrd.
}
It appears that root is set to /dev/sda12 for looking for the vmlinuz and initrd.img files, and that the linux line refers to Pingolin's UUID to pass the root partition to the kernel.
Here is the wrong menu entry, to boot to xubuntu (also a 12.04 version) on /dev/sda5
menuentry "Ubuntu, avec Linux 3.2.0-41-
insmod part_msdos
insmod ext2
set root='(
search --no-floppy --fs-uuid --set=root 1022a339-
linux /vmlinuz-
initrd /initrd.
}
It appears that root is still correctly set, by the linux line still refers to Pingolin's UUID as the root partition, instead of the xubutu's UUID (5193ea50-
You can find the boot report as it has been created by boot-report at
http://
Beware that the grub.cfg file to be considered is located at line 491
Regards
Arbiel
Changed in grub2 (Ubuntu): | |
status: | New → Invalid |
Hi
I run additional tests to find out that the issue is the sharing of the /boot partition with the two systems, Ubuntu and XUbuntu. This sharing mixes up all things as both systems rely on vmlinuz and initrd.img files whose names may be the same, but with different contents.
So, please, drop this bug. The /boot partition, where separated from its root (/), should never be shared with several systems.
This is my mistake.
Arbiel