** Description changed:

  Network/PXE installs of Trusty fail on installing grub.
  
  The error message in syslog is:
  
  Installing grub on '(hd0)'
  Running chroot /target grub-install --force "(hd0)"
  Installing for i386-pc platform
  grub-install: error: disk `hd0' not found
  error: Running 'grub-install --force ''(hd0)''' failed.
  
- I can install grub manually by chrooting into the target and running
+ The workaround is the following
  
- grub-install /dev/sda
+ chroot target
+ echo "(hd0) /dev/sda" > /boot/device.map
  
- Which works without any issues.
+ Then prompting the installer to try installing again.

** Description changed:

  Network/PXE installs of Trusty fail on installing grub.
  
  The error message in syslog is:
  
  Installing grub on '(hd0)'
  Running chroot /target grub-install --force "(hd0)"
  Installing for i386-pc platform
  grub-install: error: disk `hd0' not found
  error: Running 'grub-install --force ''(hd0)''' failed.
  
  The workaround is the following
  
  chroot target
- echo "(hd0) /dev/sda" > /boot/device.map
+ echo "(hd0) /dev/sda" > /boot/grub/device.map
  
  Then prompting the installer to try installing again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1292628

Title:
  'grub-install --force "(hd0)"' fails on trusty during installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1292628/+subscriptions

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

Reply via email to