Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Encrypting everything
Date: Thu, 02 Jul 2009 00:24:33
Message-Id: 200907020224.24370.wonko@wonkology.org
In Reply to: [gentoo-user] Encrypting everything by Alex Schuster
1 I wrote:
2
3 > B: LUKS -> LVM
4 > A simpler approach. sda1 is a small boot partition, sda2 (the rest of the
5 > drive) is a LUKS-formatted LVM physical volume with volume group
6 > 'pvcrypt' on it. This does not work yet, the initramfs does not find the
7 > LVM.
8 >
9 > I looked into the init script. I wants to do a cryptsetup luksOpen
10 > $LUKS_DEVICE $LUKS_NAME with $LUKS_NAME=root, which is not the name I
11 > use. But changing this does not help anyway. I get /dev/mapper/pvcrypt
12 > created, but pvscan does not find it. At this point I thought I'd ask
13 > here, do you have ideas what's wrong?
14
15 BTW, I have another drive in the PC, with LVMs on it. pvscan / vgscan does
16 not find them either. So it's probably not a problem with the encryption
17 itself.
18
19 But why does this work on my other system? I don't get it.
20
21 Wonko