Moving filesystems around leaves prober dazed and confused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: os-prober
For reasons best known to myself I created a new partition for my Ubuntu 9.04 install and copied the files over.
I then ran 'sudo upgrade-grub' and it appeared to run fine.
I then had to fix up fstab, to enter the new UUID of my new partition.
A reboot nearly worked.
The problem I ran into is that the probing is finding two UUID's for the OS I moved: the new id, which it uses in the search stanza and the old, pre-move id which it uses in the linux stanza.
If I manually edit /etc/grub/grub.conf (yes, I know I'm not supposed to do this) to put the new ID then I can boot without problems.
See below for the sort of output I get in /etc/grub/grub.cfg:
### BEGIN /etc/grub.
menuentry "Ubuntu 9.04, kernel 2.6.28-16-generic (on /dev/sda5)" {
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set b4c78e55-
linux /boot/vmlinuz-
initrd /boot/initrd.
}
I'm at a bit of a loss where it is getting the old UUID from.
ProblemType: Bug
Architecture: i386
Dependencies:
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: os-prober None [modified: /var/lib/
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: os-prober
Uname: Linux 2.6.28-16-generic i686
UnreportableReason: This is not a genuine Ubuntu package