[Bug 1425681] Re: grub2 does not install on encrypted lvm

sudodus nio.wiklund at gmail.com
Wed Mar 4 12:28:37 UTC 2015


@phillw:

Comment #8 'Be interesting to hear the opinions of the server team...
Did this used to work?'

The Ubuntu server test-case for encryption uses 'only' encrypted disk
with LVM, not encrypted home inside it. So this is another indication
(alongside the encrypted desktop test-cases), that Lubuntu should do the
same thing.

@ everybody:

Skipping 'encrypted home inside encrypted disk with LVM' makes things
much easier to get working. My tests today indicate, that the Lubuntu
alternate test-case works with this small modification. We need not even
unmount any partition earlier than the installer wants to do it.

I just tested that it works with very different original partition
tables (GPT and several partitions of various kinds)

- the 64-bit alternate Lubuntu Vivid installer works
- the 32-bit alternate Lubuntu Vivid installer works

I modified the test-case for encryption only at these places:

'No' for encrypted home directory  # Changed from 'Yes'. This is the
most important modification.

'Yes' unmount mounted partitions in the target drive  # Additional item
which is important.

'No' to install grub boot loader to master boot record. Instead select
the target drive for the bootloader manually.  # Changed from 'Yes'.
This is optional but I recommend it because the automatic choice often
creates problems for me.

-o-

It is not necessary to enter another text screen and unmount any
partition earlier than the installer wants to do it.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1425681

Title:
  grub2 does not install on encrypted lvm

Status in debian-installer package in Ubuntu:
  Confirmed

Bug description:
  To reproduce boot a lubuntu alternate amd64 and select guided
  partioning to set up entire encryped lvm. The install will continue
  until you install grub and then grub will not install on the encrpted
  lvm

  The deb on the altenrate installer is 
  /grub2-common_2.02~beta2-21_amd64.deb 

  This is a vivid amd 64 alternate relase but fails with altenrate
  installer so this how to get info

  I expected grub2 to install instead it did not for the encrpytion.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1425681/+subscriptions



More information about the foundations-bugs mailing list