I was able to reproduce this.  I will do some more testing tomorrow to
make sure, but I suspect it does not matter that the target medium is a
usb device, rather than after the initial install, all systems use the
disk device instead of UUID, and then it later is corrected to be the
UUID when update-grub is run.  This never happens though, if the device
name changes when you reboot between install and the first boot of the
new system.


** Summary changed:

- Grub Installer gets devices wrong when running from live USB
+ Grub Installer uses device name instead of UUID

** Description changed:

- 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.

** Changed in: grub-installer (Ubuntu)
   Importance: Undecided => High

** Changed in: grub-installer (Ubuntu)
       Status: Incomplete => Triaged

** Summary changed:

- Grub Installer uses device name instead of UUID
+ Grub Installer uses device name instead of UUID, leading to unbootable system

-- 
Grub Installer uses device name instead of UUID, leading to unbootable system
https://bugs.launchpad.net/bugs/384633
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to