[Bug 1017542] Re: grub2 update-grub puts wrong UUID in grub.cfg for system with separate /, /boot partitions when detected by os-prober
kmic
1017542 at bugs.launchpad.net
Tue May 14 22:44:33 UTC 2013
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
Foundations Bugs, which is subscribed to os-prober in 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
Status in “os-prober” package in Ubuntu:
New
Bug description:
It is putting in the UUID for the boot partition and not the / (root)
partition.
It's grub2 (1.99-21ubuntu3.1) on Xubuntu 12.04.
I ran Boot Info Script 0.60, results are attached⋯
The system not booting is on /dev/sdh. The booting disk, Xubuntu
12.04, is /dev/sdb.
sdh2/etc/fstab is at line 1073.
The incorrect UUIDs are at line 945 and 954.
"blkid" putput is at line 318.
It is putting the UUID for "boot" versus "root" in boot.cfg, line 937.
I have noticed that the relationship between physical drives and names
in /dev vary depending on which system is booted.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub (not installed)
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jun 25 07:50:56 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: grub
UpgradeStatus: Upgraded to precise on 2012-06-15 (10 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1017542/+subscriptions
More information about the foundations-bugs
mailing list