Possible Duplicate:
Full Disk Encryption with LUKS: auto mount second volume
I want to set up encrypted LVM when I install Ubuntu. I have an SSD and an HDD and I would like to put /boot
, swap and all the other mount points on the SSD but put /home
on the HDD. I want to use the same passphrase for both drives. How can I achieve this?
You can use LUKS keyfiles stored somewhere in your encrypted rootfs to automatically unlock your home partition, just make sure non-root users can't read it. Alternatively, you can use LVM (basically acting as RAID to get one big volume) -> LUKS-> LVM. And make sure your physical extents are located in the right drive.
– Andrius Štikonas Jan 06 '17 at 12:30