View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 327
|
Posted: Mon Oct 28, 2019 6:19 pm Post subject: how do i set up automounting encrypted partition? |
|
|
so i would like to make my openrc or grub to automatically mount my /home encrypted partition but that it will still ask for passphrase
now i get error at but that dolvm couldnt found any lvm partition, i have this in my defaukt/grub
Code: |
GRUB_CMDLINE_LINUX="dolvm crypt_home=UUID=4d663460-f28f-4aa6-882a-974187b7701a home=/dev/mapper/vg0-home"
|
i followed this guide https://wiki.gentoo.org/wiki/Full_Disk_Encryption_From_Scratch_Simplified
but i guess it works on for all encrypted system
this is my dissetup |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 927
|
Posted: Sun Nov 03, 2019 5:43 pm Post subject: |
|
|
Rather than mounting it at grub level, do it via openrc. Configure /etc/conf.d/dmcrypt accordingly and make sure the dmcrypt service is started at boot level.
Code: |
target='vg0-home'
source=UUID='4d663460-f28f-4aa6-882a-974187b7701a'
key='/full/path/to/homekey'
|
Plus fstab entry for /dev/mapper/vg0-home.
Actually, I just see that this is in the guide you were using. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2741 Location: Here and Away Again
|
|
Back to top |
|
|
|