[Bug 1000927] Re: 12.04 new install or update: if LVM + full encrypted disk grub installation fails!

Phillip Susi psusi at ubuntu.com
Wed Nov 14 16:16:24 UTC 2012


Ahh, I see... you have stacked lvm on top of crypt, rather than the
other way around, so the whole pv is encrypted.  I am confused by your
statements about grub's lvm module, because not only does grub not need
it, but loading it would not do any good.  It is not needed because you
have /boot on its own partition, and it would not do any good since grub
does not know how to decrypt the PV.

-- 
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/1000927

Title:
  12.04 new install or update: if LVM + full encrypted disk grub
  installation fails!

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  I tried to install Ubuntu v12.04 (in German) with the Alternate CD
  installer in text mode.

  If choosing LVM with full disk encryption the Ubuntu installer fails
  when trying to install grub.

  If I then go to another TTY (CLI) and install grub manually (successfully) and then skipping the installation of grub in the alternate installer the installation finishes more or less ok.
  The next reboot fails because grub does not know anything about LVM and the initrd does not know anything about dm-crypt.
  I loaded the corresponding modules manually and then was able to boot. But I can not get a working grub config which includes the "insmod lvm" line within so I need to do that after each kernel update manually.

  This problem occured first time when I UPGRADED from 11.10 to 12.04.
  So I thought it could be a upgrading process problem but I have done a
  complete new install on the same system (so no upgrade) and even with
  that I see the same problem. As soon as I choose LVM and full disk
  encrytion the grub installation will fail.

  Unfortunately I have no files or logs regarding that issue but it is
  reproducable. So if it is really (really) necessary to work this out I
  could re-setup this in a VM and provide what you may need.

  This also happens on a second system so it seems to be not hardware
  specific   ..

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1000927/+subscriptions




More information about the foundations-bugs mailing list