[Bug 1292628] Re: 'grub-install --force "(hd0)"' fails on trusty during installation
Steve Langasek
steve.langasek at canonical.com
Wed Mar 26 23:27:17 UTC 2014
This problem has been tracked back to a use of 'bootloader --location
mbr' in a kickstart file, which kickseed translates into:
ks_preseed d-i grub-installer/bootdev string '(hd0)'
grub-installer then uses this string as-is as an argument to grub-
install, without first ensuring the availability of a grub device map.
Apparently with the recently rewritten grub-install, that doesn't work.
Not sure if this should be fixed in grub-install or grub-installer, but
clearly somebody needs to take responsibility for creating the grub
devicemap. :)
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Triaged
--
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:
Triaged
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