[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober
I confirm that updating the UUID in the grub.cfg file of the other Linux installation (Arch linux) fixed the root device UUID inserted by os- prober on my Ubuntu. The root UUID returned by the os-prober is not detected, but instead is taken from the existing grub.cfg of the detected Linux partition. Fixing the UUID in the Arch grub.cfg also made os-prober run just several seconds, compared to over a minute before (with the non-existing UUID). My assumption is that the UUID on the target system changed after I set a new partition label -- apparently setting/modifying a partition label changes its UUID. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1017542 Title: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober
This was a problem with BIOS changing disk mounting locations, added hardware and an os-prober problem that has apparently been fixed ( the later version available in archlinux worked). This bug should be closed. ** Changed in: os-prober (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1017542 Title: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober
Because I had a very similar problem, I just worked through your attachment. Some remarks: * First I think, the relevant booting disk is sdd2, not sdb, as you wrote. Neither sdb1/boot/grub/menu.lst nor sdb1/boot/grub/grub.cfg contains entries refering to a OS on sdh, but sdd2/boot/grub/grub.cfg does. * The UUIDs in sdd2/boot/grub/grub.cfg (lines 950/959 in the attachment) are correct. * Instead, the parameter root=/dev/sda2 in sdd2/boot/grub/grub.cfg (lines 951/960 in the attachment) is incorrect. But I think, this is not a bug of ubuntus os-prober. It seems to me, that the problem is in your Arch Linux boot configuration in sdh1/grub/menu.lst. See lines 1046/1047 and 1052/1053 in the attachment: There the wrong partitions/drives are set. I suppose, the os-prober just takes these entries without re-checking them. Try to correct sdh1/grub/menu.lst and then run update-grub on your ubuntu installation on sdd2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1017542 Title: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober
I also note that the root partition on the drive which the failed boot occurs changes from (hd7,2) to (hd6,2) when the usb back-up volume is removed. With USB: menuentry "Arch ⁛ Linux (on /dev/sdh2)" --class gnu-linux --class gnu --class os { savedefault insmod part_msdos insmod ext2 set root='(hd7,msdos1)' search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9 linux /vmlinuz-linux root=/dev/sda2 ro initrd /initramfs-linux.img } Without USB: menuentry "Arch Linux (on /dev/sdg2)" --class gnu-linux --class gnu --class os { savedefault insmod part_msdos insmod ext2 set root='(hd6,msdos1)' search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9 linux /vmlinuz-linux root=/dev/sda2 ro initrd /initramfs-linux.img } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1017542 Title: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs