[Bug 1180685] Re: update-grub makes grub2 point on an incorrect UUID
Phillip Susi
psusi at ubuntu.com
Fri May 17 14:21:03 UTC 2013
** Changed in: grub2 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1180685
Title:
update-grub makes grub2 point on an incorrect UUID
Status in “grub2” package in Ubuntu:
Invalid
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 at remi-Vostro-3550:~$ sudo blkid
[sudo] password for remi:
/dev/sda10: LABEL="PASSERELLEM-t" UUID="6272-45BA" TYPE="vfat"
/dev/sda11: LABEL="maisonnette" UUID="dea2a123-c985-4a5c-bc98-975c6bd8386b" TYPE="ext4"
/dev/sda2: LABEL="OS" UUID="AC7C4EC27C4E86D4" TYPE="ntfs"
/dev/sda5: LABEL="xubuntu" UUID="5193ea50-93a3-41f0-9e40-acd7c80a0877" TYPE="ext4"
/dev/sda6: LABEL="ciel_remi" UUID="498F2C6F49CED050" TYPE="ntfs"
/dev/sda9: LABEL="Archives" UUID="5ecd6806-5db8-4670-a2fd-079df82cf0d6" TYPE="ext4"
/dev/sda1: LABEL="Data" UUID="3ee2811f-d984-4ff4-9698-36f083fecda1" TYPE="ext4"
/dev/sda4: LABEL="swap" UUID="857dda1a-4d1f-4e71-bd5d-d6c96e8032c6" TYPE="swap"
/dev/sda7: LABEL="Pingolin" UUID="bedf892b-d69d-45ba-a16c-59b32a8e031c" TYPE="ext4"
/dev/sda8: LABEL="Multimedia" UUID="3b5a9083-e27a-4f2f-917d-56945ff7fd4e" TYPE="ext4"
/dev/sda12: LABEL="boot" UUID="1022a339-49dc-41fd-bc26-a8cb207dcb82" TYPE="ext2"
remi at remi-Vostro-3550:~$
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-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root 1022a339-49dc-41fd-bc26-a8cb207dcb82
linux /vmlinuz-3.2.0-41-generic-pae root=UUID=bedf892b-d69d-45ba-a16c-59b32a8e031c ro quiet splash $vt_handoff
initrd /initrd.img-3.2.0-41-generic-pae
}
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-generic-pae (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos12)'
search --no-floppy --fs-uuid --set=root 1022a339-49dc-41fd-bc26-a8cb207dcb82
linux /vmlinuz-3.2.0-41-generic-pae root=UUID=bedf892b-d69d-45ba-a16c-59b32a8e031c ro quiet splash $vt_handoff
initrd /initrd.img-3.2.0-41-generic-pae
}
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-93a3-41f0-9e40-acd7c80a0877)
You can find the boot report as it has been created by boot-report at
http://paste.ubuntu.com/5669945/
Beware that the grub.cfg file to be considered is located at line 491
Regards
Arbiel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1180685/+subscriptions
More information about the foundations-bugs
mailing list