2010-11-10 04:57:12 |
Phillip Susi |
description |
Binary package hint: grub-installer
System: laptop hd has WinXP, usb disk has several Linux distros.
Boot order is usb thumbdrive, usb hard disk, and laptop hard disk.
Using a Jaunty live usb thumbdrive, install to an USB partition.
Remove the usb thumbdrive and reboot. The grub menu.lst for the
current Jaunty install is UUID based and boots successfully. All
other boot paragraphs (Windows and Linux) fail to boot because they
refer to wrong devices. All the other Linux installations on the usb
disk incorrectly refer to hd1 instead of the correct hd0. The
windows paragraph refers to hd0 (and lacks map commands), instead of
the correct map (hd0) (hd1), map (hd1) (hd0), rootnoverify (hd1,0).
The device.map claims hd0 is /dev/sda, which is also wrong, but makes
no difference after the menu.lst is corrected. |
After completing a fresh install, the grub.cfg on the target system uses the device name as the root= kernel parameter instead of the UUID, causing the system to fail to boot if the devices are enumerated differently. Running update-grub on the target system regenerates the config file correctly using the UUID. |
|