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

From: Allan Jude <allanjude_at_freebsd.org>
Date: Tue, 5 Jul 2016 10:42:10 -0400
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


Received on Tue Jul 05 2016 - 12:42:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC