From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 21:53:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5582A106564A for ; Fri, 28 Sep 2012 21:53:44 +0000 (UTC) (envelope-from mailinglists@martinlaabs.de) Received: from relay02.alfahosting-server.de (relay02.alfahosting-server.de [109.237.142.238]) by mx1.freebsd.org (Postfix) with ESMTP id C1ACA8FC14 for ; Fri, 28 Sep 2012 21:53:43 +0000 (UTC) Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 0FB3632C0096; Fri, 28 Sep 2012 23:22:57 +0200 (CEST) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50 autolearn=disabled version=3.2.5 Received: from alfa3018.alfahosting-server.de (alfa3018.alfahosting-server.de [109.237.140.30]) by relay01.alfahosting-server.de (Postfix) with ESMTP id C0A7232C008D for ; Fri, 28 Sep 2012 23:22:55 +0200 (CEST) Received: from pc.martinlaabs.de (p54B33CCA.dip.t-dialin.net [84.179.60.202]) by alfa3018.alfahosting-server.de (Postfix) with ESMTPSA id 90BDC515C958 for ; Fri, 28 Sep 2012 23:22:55 +0200 (CEST) Message-ID: <5066152E.5050709@martinlaabs.de> Date: Fri, 28 Sep 2012 23:22:54 +0200 From: Martin Laabs User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120729 Thunderbird/14.0 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with ClamAV 0.97.3/15411/Fri Sep 28 01:42:16 2012 Subject: Kernel asks only for the first GELI passphrase X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 21:53:44 -0000 Hello, I have two partitions encrypted with GELI: ada0s2 and ada0s3. The loader (located at an unencrypted part of the harddisk) loads the kernel and the kernel asks me for the passphrase for ada0s2 to attach it afterwards. However - my root file system is not at ada0s2.elia but on ada0s3.elia. Since the kernel did no attach ada0s3 (but the ada0s2 partition) it is also unable to mount the root filesystem which is somewhat bad. So - is there a way (i.e. a loader.conf entry) how I can tell the loader which partition I wanna have attached with a passphrase? I tried to look at the code from the loader but did not find the source file where the attaching is done. Thank you, Martin