Gentoo Linux and Genkernel: Unlocking a LUKS Encrypted LVM Root Partition at Boot Time using a Key File stored on an External USB Drive
Reply
Gentoo can be configured to use a key file stored on an external USB drive to unlock a LUKS encrypted LVM root partition. We will explore in this article the general steps involved in configuring Gentoo to use an external USB drive as a key file to unlock a LUKS encrypted LVM root partition. Note: The kernel boot parameters demonstrated in this guide (crypt_root, root_keydev, root_key, and dolvm) are specific to an initramfs generated by genkernel. If your system uses a different initramfs generator (e.g., Dracut), the required kernel parameters will differ. 1. Create a key file on the USB … Continue reading