Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 18:06:41 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        questions@freebsd.org
Subject:   Re: Reinstall on a geli encrypted device
Message-ID:  <20211130180641.0752b1e8@fabiankeil.de>
In-Reply-To: <20211129191411.000007ba@executive-computing.de>
References:  <20211128204538.00001020@executive-computing.de> <20211129191411.000007ba@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/woaTom5yAONehbaYMnsKQie
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Marco Steinbach <coco@executive-computing.de> wrote on 2021-11-29:

> Am Sun, 28 Nov 2021 20:45:38 +0100
> schrieb Marco Steinbach <coco@executive-computing.de>:

> > I am trying to clean install 13 on a drive, which contains a
> > functional geli-encrpyted zfsroot 12. I want the intaller (booted
> > from a 13 memstick) to ignore what's on the drive.
> >=20
> > What happens is, that booting from the memstick asks me for the geli
> > password for the drive.
> >=20
> > If I give the correct password, the installer will hang at 'can't find
> > /boot/entropy'.
> >=20
> > If I repeatly give the wrong password, the installer also will hang at
> > 'can't find /boot/entropy'.
> >=20
> > Pulling the drive, and dd'ing some starting sectors seems to be the
> > only 'cure'.
> >=20
> > Is there a way to tell the installation media (in my case memstick) to
> > not taste for whatever is there, but to ignore, and just leave me to
> > whatever footshooting I may be up to ?

> Solved. Looks like I did the footshooting even before the installer
> had a chance to intervene.
>=20
> The 13-3a15ccad memstick image I built from source does not boot into
> the installer almost anywhere I try, either hanging or crashing with
> varying messages, while it'll work on some machines.
>=20
> Using the official FreeBSD-13.0-RELEASE-amd64-memstick.img works
> flawlessly, albeit it's still tasting available geoms automatically,
> which I rather it wouldn't.

You can prevent geli from trying to attach providers at boot time
by setting kern.geom.eli.tries=3D0 in /boot/loader.conf on the memstick.

Fabian

--Sig_/woaTom5yAONehbaYMnsKQie
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCYaZaIgAKCRAFiohV/3dU
nTcuAKCDrYIoz0hQh4u4HlColw4ks3Vm2gCgmm9gWIOoc47xbmbqmbxzUCxmH2U=
=J3Cw
-----END PGP SIGNATURE-----

--Sig_/woaTom5yAONehbaYMnsKQie--



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