Multiple luks under one lvm
Closed this issue · 3 comments
Not sure whether this a bug or feature request. I have a system with 3 partitions, each encrypted with LUKS, which are combined into a root with LVM, this allows me to resize my root and still have good encryption. I tried several methods, but as far as I can figure, I only can specify one enc_root, and LVM can't activate the volume group with only one third of the necessary partitions, so init chokes, and I had to manually run cryptsetup &etc. I ended up modifying InitializeLUKS() to open all three (hard coded values, atm).
I think I can support colon separated list of block devices, so you could do enc_root=/dev/sda2:/dev/sdb4:/dev/vda12. what you think about such approch?
That would be quite excellent
Closing, as I have a fix.