Installing Lubuntu with LUKS and LVM

March 11, 2018    Article    115 words    1 min read

If you try to install Lubuntu 16.04, 16.10, 17.04 or 17.10 with LUKS and LVM, auto-partitioning with LVM will fail and an error will show up in /var/log/syslog:

/bin/autopartition-crypto: 292: /bin/autopartition-crypto: pvs: not found

The problem is the lvm2 package is not installed, so you need to install it manually. In the boot menu, select the Try Lubuntu option to drop to a working desktop, open LXTerminal and install lvm2:

$ sudo apt-get install lvm2

Also, remember to turn off swapping, or the installer with bitch about it later.

$ sudo swapoff -a

Now you can click the Install Lubuntu icon on the desktop. I wonder if anybody tested installing Lubuntu with LVM; Probably not.