Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 10:42:10 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: FreeBSD 11-ALPHA6 bsdinstall(8) fails with root on ZFS + GELI
Message-ID:  <395ea8b8-8639-ebbf-321d-89ae79bc8d79@freebsd.org>
In-Reply-To: <B0BC1218-16BE-4AA4-830B-4BA924840377@FreeBSD.org>
References:  <004801d1d69c$6b01b010$41051030$@pep06.fr> <B0BC1218-16BE-4AA4-830B-4BA924840377@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--IraGeO3GN5I6E6FKf3P5i0dhNTR1Up8KR
Content-Type: multipart/mixed; boundary="QtbOlhkJjlkRTKHJhHiaH7U3KnFwncjlK"
From: Allan Jude <allanjude@freebsd.org>
To: freebsd-current@freebsd.org
Message-ID: <395ea8b8-8639-ebbf-321d-89ae79bc8d79@freebsd.org>
Subject: Re: FreeBSD 11-ALPHA6 bsdinstall(8) fails with root on ZFS + GELI
References: <004801d1d69c$6b01b010$41051030$@pep06.fr>
 <B0BC1218-16BE-4AA4-830B-4BA924840377@FreeBSD.org>
In-Reply-To: <B0BC1218-16BE-4AA4-830B-4BA924840377@FreeBSD.org>

--QtbOlhkJjlkRTKHJhHiaH7U3KnFwncjlK
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2016-07-05 10:10, Jonathan Anderson wrote:
> On 5 Jul 2016, at 6:35, Marin BERNARD wrote:
>=20
>> Hi all,
>>
>> I=C2=92ve been trying to install  FreeBSD Current (11.0 ALPHA5 & ALPHA=
6) with
>> encrypted root on ZFS, and was unable to complete the setup process. T=
he
>> installation stops just after the GELI volume is initialized, and
>> bsdinstall(8) reports : mkdir : /mnt/boot : No such file or directory.=

>> The
>> debug log file is attached. Note that this is from an Hyper-V VM, but =
the
>> same error also happens on real hardware.
>>
>> Any idea ?
>>
>> Thanks !
>>
>> Marin BERNARD
>=20
> I've done some speculating in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210815, but no answ=
ers
> there yet. I think the problem might be that the bootpool hasn't
> actually been mounted yet, so the /mnt/boot symlink points to a
> non-existent directory (/mnt/bootpool/boot).
>=20
>=20
> Jon
> --=20
> Jonathan Anderson
> jonathan@FreeBSD.org
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"

Indeed, the bootpool was not being remounted. This was fallout from a
change to avoid exporting and reimporting the pool unnecessarily. The
export/import step is only required for MBR formatted disks, in order to
write the bootcode into the secret slot in the ZFS disk label.

The problem was fixed in r302319 and was recorded in PR 210717

--=20
Allan Jude


--QtbOlhkJjlkRTKHJhHiaH7U3KnFwncjlK--

--IraGeO3GN5I6E6FKf3P5i0dhNTR1Up8KR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJXe8dIAAoJEBmVNT4SmAt+gkcQAOSRIb3pj2711qGQ/emkg1hO
BeAEIBuDZ27Tf5pNkgx3Mn1rphSuKoX+iaZgmpCOvdggvpSI46T72aUbpooN7i4v
lylUUqnZsLoRo8BsWhLiBZ92nKKi13qsyyu9iP7ndJXj0n1/4dL/gxVXx5fEGDCL
UMquWLHNK9jHJ/UQAH5Jx6p8Yxg9okxiRcVUCDsynaND6XdnHcSntYIk+aIR6fyG
hZE8tE1+SXnm/gUVlcMVT8YF20mPDrjLK4bbGmVnRfGDzMTso6JMdZPr+JJdW0K7
M8brsvtW5L8KSJuNgfHFL1pMUayWNThkdFTr1OFPMwy057DXjRwCj6aoIaN03RuW
NxBJgD4jxMHU0uocu0BMJqbwhZ4O2J1S7wNFySvqckQTZnQruDPT8MgsfhMSlbKF
KPR/S+c47WXx8KxmYhVm6W3ZJ+Afhg6CfcXU/9WxQs+3j+Zze9OFSFlLLDWKX5XW
xI6XaoDurjl34NFzWGP3XdOM1mCP1aYdrh0hmiiS4GzXvIg3McjDmUUPBoBemDJ6
hxvqEg0XM/soSZ0o8AcUwYm56W8YKnmOMcdnR3WYB4Xaq1KF8Puh52NHSVG/rurx
CQNrGEUgo2MgxfBTcH7GZbvhCbkvuPBfAQnbaetsvM+3r67zAlmTO0es89OxQpBO
2yE0DWzq2V/ZsfYNdwGG
=mIFz
-----END PGP SIGNATURE-----

--IraGeO3GN5I6E6FKf3P5i0dhNTR1Up8KR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395ea8b8-8639-ebbf-321d-89ae79bc8d79>