Nevermind, I figured out how to create an LUKS+LVM encrypted Ubuntu
install using the
https://help.ubuntu.com/community/EncryptedFilesystemLVMHowto
instructions.

The last step must be slightly modified, and a few more steps are
necessary to create the LVM.

Instead of "cryptsetup luksOpen /dev/sda5 sda5_crypt"

Do "cryptsetup luksOpen /dev/sda5 pvcrypt"

Then:

pvcreate /dev/mapper/pvcrypt
vgcreate vg /dev/mapper/pvcrypt
lvcreate -n <lvname> -L <size> vg

ex.

lvcreate -n home -L 35G vg

This will create a logical volume named "home" with a size of 35 GB.

You need to create a new logical volume (lvname) for each partition and
set the size you want. I created three - root, home, and swap.

My setup looks like this:

lvdisplay -C
  home       vg   -wi-ao  35,00G
  root       vg   -wi-ao 20,00G
  swap       vg   -wi-ao 2,00G
  
Once you've done that, Ctrl-alt-F1 to return to the setup screen. Choose 
Finish. You'll get an error stating that sda5_crypt couldn't be found. Select 
yes to return to the setup screen. Now you'll see the LVM volumes you created. 
Assign mount points to each volume and continue the install as normal.

Jason

-- 
support AES-XTS mode
https://bugs.launchpad.net/bugs/244480
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to