This show has been flagged as Clean by the host.
Setting up Linux Mint with Custom LVM and Luks
The current Linux Mint installer doesn't support custom partitions when setting up a new machine with LUKS encryption using LVM. I prefer having a separate partition for my home directory and a backup partition for Timeshift, so that reinstalling or fixing issues won't overwrite my home directory.
I found several approaches to achieve this. One method involves setting up partitions first and then using the installer to select them, but this requires extensive post-installation configuration to get boot working with the encrypted drive.
I discovered this blog which explains how to repartition your drive after installation. Combined with my guide on setting up hibernation, I created this documentation to help remember how to install a fresh copy of Linux Mint with LVM and LUKS.
Tested on: Linux Mint 22 Cinnamon
For this guide, I'm working with a 1TB drive that will be split into the following logical volumes:
This setup ensures that system snapshots and user data remain separate, making system recovery much easier.
Start the Linux Mint installation process as normal:
Important: Do NOT reboot after installation completes. We need to repartition before the first boot.
After installation finishes, open a terminal and switch to root:
sudo -i
This gives you administrative privileges needed for disk operations.
View your current partition structure:
lsblk -f
This displays your filesystem layout. You should see your encrypted volume group (typically vgmint) with a large root partition consuming most of the space.
Shrink the root partition from its default size (nearly full disk) to 100GB:
lvresize -L
Published on 1 week, 5 days ago
If you like Podbriefly.com, please consider donating to support the ongoing development.
Donate