[Bug 913811] [NEW] grub-installer fails to install grub on new install

Launchpad Bug Tracker 913811 at bugs.launchpad.net
Sat Feb 25 19:45:41 UTC 2012


You have been subscribed to a public bug:

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: grub (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment precise
-- 
grub-installer fails to install grub on new install
https://bugs.launchpad.net/bugs/913811
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub in Ubuntu.




More information about the foundations-bugs mailing list