From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LIola-0007uQ-CA for garchives@archives.gentoo.org; Fri, 02 Jan 2009 18:29:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEE81E03B2; Fri, 2 Jan 2009 18:28:59 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by pigeon.gentoo.org (Postfix) with ESMTP id 64482E03B2 for ; Fri, 2 Jan 2009 18:28:59 +0000 (UTC) Received: from gondolin.altum.de (p54BBA4D8.dip0.t-ipconnect.de [84.187.164.216]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1LIolW355W-0007q3; Fri, 02 Jan 2009 19:28:58 +0100 Received: from localhost (localhost [127.0.0.1]) by gondolin.altum.de (Postfix) with ESMTP id 7F12A2B6D88 for ; Fri, 2 Jan 2009 19:28:58 +0100 (CET) X-Virus-Scanned: by amavisd-new at online.de Received: from gondolin.altum.de ([127.0.0.1]) by localhost (gondolin.altum.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YpLl06oOT7-k for ; Fri, 2 Jan 2009 19:28:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gondolin.altum.de (Postfix) with ESMTP id D19D32B6D89 for ; Fri, 2 Jan 2009 19:28:57 +0100 (CET) Received: from gondolin.localnet (localhost [127.0.0.1]) (Authenticated sender: heini) by gondolin.altum.de (Postfix) with ESMTPSA id A81052B6D88 for ; Fri, 2 Jan 2009 19:28:57 +0100 (CET) From: Dirk Heinrichs Organization: Privat To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Genkernel: non-standard crypto setup Date: Fri, 2 Jan 2009 19:28:52 +0100 User-Agent: KMail/1.10.92 (Linux/2.6.28; KDE/4.1.85; i686; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3285959.TonkgpgDWu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200901021928.56817.dirk.heinrichs@online.de> X-Provags-ID: V01U2FsdGVkX19AobmZuQQZCdUNvohUX+X5poiNLbUwl64QE+G P+ATnPTgEi+droyqjEoHAJWdFEyVbTJPVd0NUjU9sLRp4UJUsP LFHshSFcaZqZIZki4xLbQ== X-Archives-Salt: 8dff2875-2941-4a5b-b6bc-b425a6ec92ff X-Archives-Hash: dc3077e402ce7e297bab4a6d863025f6 --nextPart3285959.TonkgpgDWu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 2. Januar 2009 18:50:09 schrieb Jens M=C3=BCller: > Hi, > > how can I achieve the following with minimal manual intervention based > on genkernel's default linuxrc script? > > 1) Scan for physical volumes, setup volume groups (I guess that is what > "startVolumes" does). > > 2) Do (the equivalent of) cryptsetup luksOpen /dev/mapper/vg1-crypt > crypt_pv. First, with passphrase, later, key from USB would be nice. > > 3) Rescan for PVs (=3D recognize /dev/mapper/crypt_pv as a physical > volume), setup the new volume group contained therein. > > 4) Add rootfs and swap from /dev/mapper/vg2-root and /dev/mapper/vg2-swap Just to make sure I understand what you want to do: You have encrypted=20 physical volumes which you want to combine into an LVM volume group and the= n=20 put logical volumes into this VG? Bye... Dirk --nextPart3285959.TonkgpgDWu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iD8DBQBJXlzo8NVtnsLkZ7sRAkltAJ4k58opmmrO8oa1RBzVRpZhGY+2KACZAYat 4qAWA4vRLO7+1JWKkjYzpNg= =DJHN -----END PGP SIGNATURE----- --nextPart3285959.TonkgpgDWu--