Florian Philipp wrote: > Another thing you can think of is whether you want encryption. I've done > this for my laptop. The usual setup would by md->lvm->crypt. I've done > it crypt->lvm (an LVM physical volume on top of an encrypted partition). > This way, I only need to enter the password once. You can enforce a > specific order between lvm, md and dmcrypt by putting stuff like this in > /etc/rc.conf: > rc_dmcrypt_before="lvm" > rc_dmcrypt_after="udev"
I like to use whole disk encryption so I'll format each drive with LUKS and then use Dracut for an initramfs when I boot so that it takes care of setting up dmcrypt/lvm/md before OpenRC ever starts up.