My bad,

the encrypted home partition is on LVM, so I added "after lvm" to the depend section of /etc/init.d/dmcrypt.

Works like a charm now

On 07/10/2016 08:52, Coert wrote:
Hello all,

I have configured dmcrypt to open my home partition with a passphrase.

in /etc/conf.d/dmcrypt i have:
target=crypt-home
source='/dev/vg1/chome'

in /etc/fstab i have:
/dev/mapper/crypt-home    /home    xfs    noatime    0 2

I added dmcrypt to the boot runlevel with rc-update
However when I boot the machine it does not ask for the passphrase.
If I add dmcrypt to the default runlevel however, it does ask for the passphrase, but by then fstab was already processed.

Any advice?
Kind regards,
Coert



Reply via email to