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

Launchpad Bug Tracker 1292628 at bugs.launchpad.net
Fri Mar 28 15:01:57 UTC 2014


This bug was fixed in the package grub-installer - 1.78ubuntu19

---------------
grub-installer (1.78ubuntu19) trusty; urgency=medium

  * If grub-installer/bootdev was set to (hd0), override it to the OS device
    name for the first disk if possible (LP: #1292628).
 -- Colin Watson <cjwatson at ubuntu.com>   Fri, 28 Mar 2014 13:11:31 +0000

** Changed in: grub-installer (Ubuntu)
       Status: Fix Committed => Fix Released

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

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

Status in “grub-installer” package in Ubuntu:
  Fix Released

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/grub-installer/+bug/1292628/+subscriptions



More information about the foundations-bugs mailing list