You are not logged in.
Pages: 1
I'm installing LVM on LUKS, as follows:
/dev/sda1: boot
/dev/sda2: first LUKS device
/dev/sdb1: second LUKS device
/dev/sda2 and /dev/sdb1 are in a volume group, which is then split into logical volumes.
/dev/sda2 and /dev/sdb1 have the same password.
How can I only be prompted once for this password at boot?
"Cleverness is not wisdom." ~Euripides
Offline
Since LUKS will ask for each device you are about to open, the only way seems to be to put the LUKS part into the LVM and create a single logical (LUKS) volume. This way you will only be asked once.
Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse
Offline
However, I'd like LVM on top of LUKS. Is it possible? As I understand, initramfs doesn't support LVM on LUKS on LVM, but that would be ideal. Is there a way to accomplish this?
"Cleverness is not wisdom." ~Euripides
Offline
Strike0 has told me in the past that this is actually supported. Just use the LVM2 hook twice, once before and once after the encrypt hook. There is also the cryptsetup-multi package, but it is partially broken. In these forums somewhere there are instructions from falconindy on using the hook (maybe the install) file from the multi package in the current cryptsetup package. but you are going to have to seach for that yourself.
Offline
Pages: 1