Plagiarized pretty much everything from this fantastic article: https://forums.centos.org/viewtopic.php?t=53452 fdisk /dev/sdc mkfs.ext3 /dev/sdc mkdir /boot/tmp mount /dev/sdc1 /boot/tmp cp mykeyfile /boot/tmp grep linux16 /boot/grub2/grub.cfg luks-… cryptsetup luksAddKey /dev/disk/by-uuid/0501aed9-6234-484a-9faf-3a6882be00c6 /boot/tmp/mykeyfile cryptsetup luksAddKey /dev/disk/by-uuid/1584e28a-5842-48b7-42c2-158a215dc31e /boot/tmp/mykeyfile vi /etc/dracut.conf.d/usb-decrypt.conf omit_dracutmodules+=”systemd” filesystems+=”ext3″ :wq! dracut -fv …
CentOS 7: LUKS key on a USB drive Read more »