Note:
If you do not need multiple encrypted partitions, a better approach is to replace the swap partition with a swapfile. That way, only a single encrypted partition is necessary, and we can ditch LVM, freeing us from its performance penalty and further simplifying everything. It is then best to select
/bootover/boot/efias EFI mount point for better performance.So, to sum it up:
- Automatic partitioning.
- Create LUKS container in the bigger volume.
- Mount the LUKS container to
/. Choose ext4 or xfs if you want to use a swapfile.- For swap, choose swap file.
- For extra mounts, don’t choose anything.
- For EFI mount point, choose
/bootand the smaller automatically created partition.
3 Likes