[Bug 913811] Re: grub-installer fails to install grub on new install
yurikoles
yurikoles at gmail.com
Sat Feb 25 19:45:40 UTC 2012
** Package changed: ubuntu => grub (Ubuntu)
** Package changed: grub (Ubuntu) => grub2 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/913811
Title:
grub-installer fails to install grub on new install
Status in “grub2” package in Ubuntu:
New
Bug description:
When installing from seed (haven't tried manual install), DM crypt and
LVM, the grub install stage fails with the message:
grub install (something, something) failed: mapdevfs <path>
Debugging, this is because the part that reads 'apt-install grub-
common' outputs:
Adding 'local diversion of /sbin/start-stop-daemon to /sbin/start-stop-daemon.REAL'
Adding 'local diversion of /sbin/initctl to /sbin/initctl.REAL'
this in turn is interpreted as input into $rootfs (calls findfs(),
which calls grub_probe() which calls apt-install ...).
This variable is then used by mapdevfs. But since the variable
contains bogus data, grub-installer fails.
Changing the relevant line in /usr/bin/grub-installer from:
apt-install grub-common
to
apt-install grub-common > /dev/null
Solves the problem (for me).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/913811/+subscriptions
More information about the foundations-bugs
mailing list