You are not logged in.
Is there any way to pass a second kernel parameter to grub?
At the moment I have my / encrypted, which is on a separate partition (and physical drive) from my /home, which is also encrypted. In /etc/default/grub, I've placed:
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sdb3:cryptroot"But upon booting, that will return the following:
https://i.imgur.com/3LVL9Zq.jpg
I assume as it's trying to look for /home, but can't find it, and I can't seem to find a way to pass a secondary GRUB_CMDLINE_LINUX= parameter to prompt me to decrypt and mount it at /mnt/home without generating what looks like an erroneous grub.cfg.
Thanks.
Last edited by CafePilgrim (2017-12-05 07:48:18)
Offline
Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Offline
Solved with crypttab.
Created a keyfile for /home
mkdir /keystore
dd if=/dev/urandom of=/keystore/key bs=1024 count=4
chmod 0400 /keystore/keyEdited /etc/crypttab to reference my encrypted /home partition
crypthome /dev/sda2 /keystore/key luksfstab already had the /dev/mapper/crytphome entry; rebooted, prompted to enter in the / password, then /home auto-decrypted and mounted once entered.
Thanks.
Offline