Is it possible to setup LVM with the ubuntu 20.04 graphical installer?

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:enter image description here

Unfortunately, I couldn't find out how to setup LVM with the Ubuntu desktop installer.

Is this not possible?

2

2 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.

  1. Select Erase Disk and Install Ubuntu
  2. Click on the Advanced features button
  3. Choose the second option, Use LVM with the new Ubuntu installation
  4. Choose the optional checkbox option, Encrypt the new Ubuntu installation for security

You now have an LVM-encrypted install of Ubuntu 20.04.

4

I 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/swap
  • Disk 2 (Big HD)

    /encrypted/home
  • Disk 3

    /windows (ntfs)

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like