Public bug reported:
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).
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913811
Title:
grub-installer fails to install grub on new install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/913811/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs