lasitus
January 13th, 2013, 07:33 PM
I have a setup with a lot of encrypted volumes. Rather than typing the password over and over again, I'm trying to setup a keyfile for all but root and a passphrase for root. I have several encrypted partitions that are LVMed together. Everything except the boot and root and swap partitions are in logical volumes, inside several encrypted raid arrays.
I have:
* Created the keyfile and put it on root
* Added the keyfile to the volumes
* Updated crypttab to use a keyfile for all volumes but root
* Ran update-initramfs -u and update-grub
* Rebooted
When I boot, I get a request for a passphrase for root. This is successful, but it times out waiting for /tmp, which is a logical volume. When I go to manage, all encrypted volumes show up but no lvm volumes. If I do a vgscan/vgchange -a y, they all show up and are mountable.
So... it seems to me like it is trying to start up lvm before the encrypted devices show up. Any ideas?
This is xubuntu 12.04
I have:
* Created the keyfile and put it on root
* Added the keyfile to the volumes
* Updated crypttab to use a keyfile for all volumes but root
* Ran update-initramfs -u and update-grub
* Rebooted
When I boot, I get a request for a passphrase for root. This is successful, but it times out waiting for /tmp, which is a logical volume. When I go to manage, all encrypted volumes show up but no lvm volumes. If I do a vgscan/vgchange -a y, they all show up and are mountable.
So... it seems to me like it is trying to start up lvm before the encrypted devices show up. Any ideas?
This is xubuntu 12.04