Score:1

full disk encryption with separate /home partition

fr flag

I would like to install ubuntu 22.04 with full disk encryption, but having /home on a separate LVM partition, instead of having /home and / on the same partition.

Debian has been providing this for a while, so it should be possible, right? Maybe I missed something, but the installer, after selecting "full disk encryption" seems to create one LVM volume which is formated in ext4 and used for both /home and /.

I have been trying for 3 hrs now, and really I cannot find how to do it, so I definitely need some help. Thx for any tip!

guiverc avatar
cn flag
You haven't said what Ubuntu 22.04 product you're trying to use, Ubuntu 22.04 LTS ISOs are available using `ubiquity` installer, `subiquity` with two *flavors* of 22.04 using `calamares`.. but you didn't specify which product thus what installer you actually tried (*or are asking about*).
Score:0
ec flag

The short answer is that you cannot do full disk encryption with partitions using the Ubuntu desktop installer. However, you can achieve what you want, but it does take a bit more time.

I've done what you want to do on my Lenovo Thinkbook T15 Gen2 to install Ubuntu 22.04 (and upgraded just recently to 23.04): separate boot, system, swap, and home partitions using LUKS encryption.

What you'll end up doing is first running the Ubuntu installer, but only to a point, and then dropping into command line to prepare your disk(s). Then finally, you can again run the installer and complete the Ubuntu installation.

The resources that I've used are (all external):

I'd recommend that you review the first two sites to get a general understanding of the procedure (they're both very similar). The third site is a Github script that will do much of this prep work for you. It's been a couple of years since I used this script, but again, very helpful to understand the overall process.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.