Installation aborts when selecting ZFS on root install (T420, SSD) with message:
Type/Disks: Stripe w/ 1 disk
4K Sectors: yes
Swap size: 8G
Encrypt Swap: yes
Configure GELI password
Initializing encryption on selected disks
GEOM_ELI messages (XTS, AES256, Hardware)
mkdir: /mnt/boot: no such file or directory
This has reproduced across several install attempts to my T420 (240GB SSD) using FreeBSD-11.0-ALPHA5-amd64-20160624-r302164-memstick.img.
GPT + Lenovo Fix: Same result
Auto UFS: Works
Auto ZFS on GPT(Bios+UEFI) and no GELI: Works
Can you switch to console #3 (control+alt+f3) and look for debugging messages? Or use the shell on console #4 to copy the bsdinstall_log off of the temporary disk and attach it here?
A commit references this bug:
Date: Sun Jul 3 01:22:59 UTC 2016
New revision: 302319
Fix an error in bsdinstall when ZFS installation uses a bootpool
A separate bootpool is used when the selected partition type is MBR
or when the disk is GELI encrypted and a UEFI loader is selected.
BIOS avoids the bootpool by using bootcode and loader that support GELI.
bsdinstall did not remount the bootpool after creating the main pool,
which caused an error when mkdir tried to create /boot/zfs
Approved by: re (gjb)
Sponsored by: ScaleEngine Inc.
This fix will be included in the next release, BETA1 expected this coming Friday
*** Bug 210815 has been marked as a duplicate of this bug. ***
I applied this patch to the installer as it ran and it fixed the problem for me. Thanks!
The fix will be included in the next build, which should come out tonight or tomorrow. Sorry for the issue.
Thank you, Allan! I was able to grab the updated zfsroot script and confirmed your update does fix the existing RC5 image as BETA1 wasn't out. Sorry, I didn't get you the debug info - I did not see the bug update until tonight.