[Bug 913811] Re: grub-installer fails to install grub on new install
TJ
ubuntu at iam.tj
Sun Aug 10 12:26:42 UTC 2014
*** This bug is a duplicate of bug 912431 ***
https://bugs.launchpad.net/bugs/912431
** Also affects: grub-installer (Ubuntu)
Importance: Undecided
Status: New
** Changed in: grub2 (Ubuntu)
Status: New => Invalid
** Changed in: grub-installer (Ubuntu)
Status: New => Triaged
** This bug has been marked a duplicate of bug 912431
Preseeded 12.04 grub-install failed: Wrong number of args: mapdevfs <path>
--
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/913811
Title:
grub-installer fails to install grub on new install
Status in “grub-installer” package in Ubuntu:
Triaged
Status in “grub2” package in Ubuntu:
Invalid
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/grub-installer/+bug/913811/+subscriptions
More information about the foundations-bugs
mailing list