How to use LUKS encrypted partitions with Kubuntu 24.04 installation


I am trying to install Kubuntu 24.04 with manual partitioning. I have created primary partitions for EFI and boot, and an encrypted partition with logical volumes for swap, root, and home.

enter image description here

Previously, after this step I just run the Kubuntu installer, manually assigned /dev/mapper/vg0-* partitions for root, home, and swap, as well as the primary partitions for /boot/efi and /boot, and it all worked ok.

But in Kubuntu 24.10 the installer changed, and now I'm not sure what I should do. There are separate dropdown items for the whole disk and for the mounted logical volume, and the installer suggests that I should format the logical volumes to use them, and then tries to delete them for some reason.

enter image description here

It all ends with this error:

enter image description here

Is there any way to solve this? Maybe I do not need to manually partition the disk prior to running the installer? Could I achieve what I want just using the dialogs within the installer itself?

Best Answer

Boot into a live environment, and configure your /boot and LVM/luks or luks/LVM the way you'd like.

Then start the installer and choose your existing partitions.

Sometimes you need to run boot-repair to get a bootable system.

Related Question