Gentoo Archives: gentoo-user

From: "Jens Müller" <blog@×××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Genkernel: non-standard crypto setup
Date: Fri, 02 Jan 2009 17:50:25
Message-Id: gjlk4h$59t$1@ger.gmane.org
1 Hi,
2
3 how can I achieve the following with minimal manual intervention based
4 on genkernel's default linuxrc script?
5
6 1) Scan for physical volumes, setup volume groups (I guess that is what
7 "startVolumes" does).
8
9 2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt
10 crypt_pv. First, with passphrase, later, key from USB would be nice.
11
12 3) Rescan for PVs (= recognize /dev/mapper/crypt_pv as a physical
13 volume), setup the new volume group contained therein.
14
15 4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap
16
17 Thanks a lot & Bye,
18
19 Jens

Replies

Subject Author
Re: [gentoo-user] Genkernel: non-standard crypto setup Dirk Heinrichs <dirk.heinrichs@××××××.de>