update-grub produces grub.cfg that fails to boot linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I run three Linux systems (and two windows systems) on one computer.
When running 12.04 Xubuntu, update-grub fails to produce one of the Linux menu entries because os-prober (1.51) fails to find it.
When running 10.04 LTS, update-grub produces all menu entries because os-prober (1.38) finds all installed os but not a working menu entry for one because it tries to use the wrong disk for the Linux system. This is clear because it is trying to boot a Windows system and chokes on NTFS file system.
The computer's BIOS will place the disk with the distribution at different places, I have seen /dev/sda, /dev/sdc, and /dev/sdg.
Because of this I use UUIDs so there is no confusion. I have verified that the problematic UUID is correct, so apparently grub is ignoring this and using the "set root='(hd~,~)' "
grub version 1.98-1ubuntu13
boot-info at http://
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu13
ProcVersionSign
Uname: Linux 2.6.32-41-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Jul 20 09:22:41 2012
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: grub2
Workaround found: Installed grub2 on the Arch Linux system, all works well.