FreeBSD 11-ALPHA6 bsdinstall(8) fails with root on ZFS + GELI

Allan Jude allanjude at freebsd.org
Tue Jul 5 14:42:24 UTC 2016


On 2016-07-05 10:10, Jonathan Anderson wrote:
> On 5 Jul 2016, at 6:35, Marin BERNARD wrote:
> 
>> Hi all,
>>
>> I’ve been trying to install  FreeBSD Current (11.0 ALPHA5 & ALPHA6) with
>> encrypted root on ZFS, and was unable to complete the setup process. The
>> 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
> 
> I've done some speculating in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210815, but no answers
> 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).
> 
> 
> Jon
> -- 
> Jonathan Anderson
> jonathan at FreeBSD.org
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

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

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160705/326ed17a/attachment.sig>


More information about the freebsd-current mailing list