Gentoo Archives: gentoo-user

From: Coert <lgroups@×××××××××.net>
To: gentoo-user@l.g.o
Subject: SOLVED Re: [gentoo-user] dmcrypt boot
Date: Fri, 07 Oct 2016 06:58:32
Message-Id: d3b78dfd-0580-f800-c9d9-2a555f2dd632@vlymskerp.net
In Reply to: [gentoo-user] dmcrypt boot by Coert
1 My bad,
2
3 the encrypted home partition is on LVM, so I added "after lvm" to the
4 depend section of /etc/init.d/dmcrypt.
5
6 Works like a charm now
7
8 On 07/10/2016 08:52, Coert wrote:
9 > Hello all,
10 >
11 > I have configured dmcrypt to open my home partition with a passphrase.
12 >
13 > in /etc/conf.d/dmcrypt i have:
14 > target=crypt-home
15 > source='/dev/vg1/chome'
16 >
17 > in /etc/fstab i have:
18 > /dev/mapper/crypt-home /home xfs noatime 0 2
19 >
20 > I added dmcrypt to the boot runlevel with rc-update
21 > However when I boot the machine it does not ask for the passphrase.
22 > If I add dmcrypt to the default runlevel however, it does ask for the
23 > passphrase, but by then fstab was already processed.
24 >
25 > Any advice?
26 > Kind regards,
27 > Coert
28 >