[Bug 1292628] Re: 'grub-install --force "(hd0)"' fails on trusty during installation

William Van Hevelingen 1292628 at bugs.launchpad.net
Fri Mar 14 18:32:24 UTC 2014


** 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
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1292628

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

Status in “grub2” package in Ubuntu:
  New

Bug description:
  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/grub/device.map

  Then prompting the installer to try installing again.

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



More information about the foundations-bugs mailing list