From owner-freebsd-stable@FreeBSD.ORG Wed Jun 20 18:29:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40855106566C for ; Wed, 20 Jun 2012 18:29:06 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) by mx1.freebsd.org (Postfix) with ESMTP id F0EF98FC12 for ; Wed, 20 Jun 2012 18:29:05 +0000 (UTC) Received: from [84.44.152.99] (helo=fabiankeil.de) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1ShPdR-0003iA-Rn; Wed, 20 Jun 2012 20:28:09 +0200 Date: Wed, 20 Jun 2012 20:28:07 +0200 From: Fabian Keil To: Joerg Surmann Message-ID: <20120620202807.66fdf248@fabiankeil.de> In-Reply-To: <4FE1C140.1060700@snafu.de> References: <4FE1C140.1060700@snafu.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/2eOa=+Q0HKilf=jeyE.7vVA"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-stable@freebsd.org Subject: Re: geli decrypt only one partition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 18:29:06 -0000 --Sig_/2eOa=+Q0HKilf=jeyE.7vVA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable joerg_surmann wrote: > i have two partitions: ada0p3.eli and ada1p3.eli > on bootprocess i must type a passphrase for ada0p3 and have ada0p3.eli. > next i type the passphrase for ada1p3 and i become: wrong key > when the bootprocess is finish and i login and type geli attach -k > /path to keyfile /dev/ada1p3 and i type the passphrase then i have > ada1p3.eli. > why can i decrypt only one partition on bootprocess? This is frequently the effect of an incorrectly specified keyfile in loader.conf. Do you get a boot message like the following for both keyfiles when booting in verbose mode? Jun 20 19:49:34 r500 kernel: Preloaded ada0s1d:geli_keyfile0 "/boot/ad4s1d.= key" at 0xffffffff813951d0. Fabian --Sig_/2eOa=+Q0HKilf=jeyE.7vVA Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/iFjkACgkQBYqIVf93VJ050ACgyu+vWXYNZscYSg7Yjm42bVar dCgAn1lBvyxh8Ep0+MhersJySwAarVO4 =u8sq -----END PGP SIGNATURE----- --Sig_/2eOa=+Q0HKilf=jeyE.7vVA--