I'm trying to install Ubuntu 20.04 Desktop in a lvm-inside-luks type of configuration. This works fine with both the graphical fedora workstation installer, the debian installer, and the ubuntu 20.04 server installer.
Debian and Ubuntu 20.04 server even offer this as a guided (automatic) installation type:
Unfortunately, I couldn't find out how to setup LVM with the Ubuntu desktop installer.
Is this not possible?
22 Answers
When you're in the desktop installer of a Live USB or Live DVD version of Ubuntu 20.04, progress to the Installation Type screen.
- Select Erase Disk and Install Ubuntu
- Click on the Advanced features button
- Choose the second option, Use LVM with the new Ubuntu installation
- Choose the optional checkbox option, Encrypt the new Ubuntu installation for security
You now have an LVM-encrypted install of Ubuntu 20.04.
4I used to get the server installation and do precisely what you described, but with the new live installation we get the same issue, you just can't do it! I have reported this as a bug a few times but it was never fixed!
One alternative is to download an older version of Ubuntu like ubuntu-18.04-server-amd64.iso
Then update it to the version you would like and then just install the desktop (if the case) ...
In My case I want first to encrypt the Linux disks (2 HDs) and have something like this:
Disk 1 (SSD)
/boot /encrypted/lvm/root /encrypted/lvm/swapDisk 2 (Big HD)
/encrypted/homeDisk 3
/windows (ntfs)