Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 20:28:07 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Joerg Surmann <joerg_surmann@snafu.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: geli decrypt only one partition
Message-ID:  <20120620202807.66fdf248@fabiankeil.de>
In-Reply-To: <4FE1C140.1060700@snafu.de>
References:  <4FE1C140.1060700@snafu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/2eOa=+Q0HKilf=jeyE.7vVA
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

joerg_surmann <joerg_surmann@snafu.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120620202807.66fdf248>