You are not logged in.
Hi everyone,
I am trying to allow for remote unlocking of my drives. Right now some partitions are fully encrypted (root partition and two disks in RAID1) so when my system boots up, I need to plug in my keyboard in order to type my password to unlock the encrypted partitions. I would like to be able to remotely enter this password in case there is a power outage or something while I am away so I will be able to still access my system.
I am currently a bit confused as to the first few steps following the first example at https://github.com/random-archer/mkinit … stemd-tool.
My first question is for edititing /etc/mkinitcpio-systemd-tool/config/crypttab and /etc/mkinitcpio-systemd-tool/config/fstab.
i. Regarding cryptab, am I supposed to list all my encrypted devices here? I have them already listed in etc/cryptab, do I just copy everything over? I am not sure if the device id is for the mapper or for the actual device eg) uuid for cryptroot or for /dev/nvme0n1p1?
ii. Regarding fstab, I am fairly certain I just put the mapper name, mount point etc, but I am a bit lost on how to add the options. for example my root partition has rw,relatime,ssd,space_cache,subvolid=5,subvol=/ 0 0
My initial thoughts was that for /etc/mkinitcpio-systemd-tool/config/crypttab, i copy over the mapper name and the uuid for the device ie) the uuid for /dev/nvme0n1p1
My last question is, after editing these files, can i remove /etc/fstab and /etc/cryptroot? What is the difference between them?
Thanks for the help and taking the time to read my problem!
Last edited by lm_sensors (2020-07-28 13:12:28)
Offline