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 1LIoAC-0003BD-RT for garchives@archives.gentoo.org; Fri, 02 Jan 2009 17:50:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34AADE0415; Fri, 2 Jan 2009 17:50:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 108ECE0415 for ; Fri, 2 Jan 2009 17:50:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A4A3664CAA for ; Fri, 2 Jan 2009 17:50:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.254 X-Spam-Level: X-Spam-Status: No, score=-2.254 required=5.5 tests=[AWL=1.345, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NRL+IumUSheM for ; Fri, 2 Jan 2009 17:50:22 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5160664CA5 for ; Fri, 2 Jan 2009 17:50:21 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LIoA6-0006Ym-Ec for gentoo-user@gentoo.org; Fri, 02 Jan 2009 17:50:18 +0000 Received: from e180078040.adsl.alicedsl.de ([85.180.78.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Jan 2009 17:50:18 +0000 Received: from blog by e180078040.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Jan 2009 17:50:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?UTF-8?B?SmVucyBNw7xsbGVy?= Subject: [gentoo-user] Genkernel: non-standard crypto setup Date: Fri, 02 Jan 2009 18:50:09 +0100 Message-ID: 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e180078040.adsl.alicedsl.de User-Agent: Thunderbird 2.0.0.19 (X11/20081231) Sender: news X-Archives-Salt: c956772e-f246-4c86-b4c3-72401983bc90 X-Archives-Hash: 5fe62097e6cbcbe740f4ccefa39711a7 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 (= 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 Thanks a lot & Bye, Jens