DISCLAIMER:
The beginning of the story
I've got a new hardware, Dell OptiPlex Micro Form Factor 7010, on which I was willing to perform a "relatively minimal"
FreeBSD 14.0-RELEASE installation. After having successfully created & tested the "recovery media" following Dell recommendations I've burned the installation image following the instructions for the memstick option. While I was creating the Dell's "recovery media" I've innocently (just for fun meanwhile ?) performed general "updates" on the factory installation (which came with Ubuntu pre-installed). But the updates also caused the firmware (UEFI) to be updated, which caused the so called "Dell Safe BIOS" to be installed and activated setting up some sort of "secure boot" which I initially thought to be the cause of both F2 or F12 be ignored so that I couldn't use the memstick with the FreeBSD installation image. "Of course" applying the recovering media didn't solve anything. After struggling with the issue for some time I've finally noticed that somehow the problem of F2 or F12 being ignored was in fact due to the "gaming" keyboard I was using. Then I took an old USB keyboard (which I luckily happened to have at my disposal) and could finally have access to the firmware configurations and disable the "secure boot" for allowing me to use F12. But before finally overcoming this initial difficulty a reboot was required and the firmware prompted me to input a configuration-change validation code (number), but I could not get to the input field with the Tab or Arrow keys! To make things more difficult, together with this prompt there was a timeout, short enough to not let me figure out what to do except to start from the scratch until I finally note that by pressing F12 again at that configuration-change prompt would (imperfectly I would say) bring me some sort of focus to which I could use the Arrow keys to get to the input field and type the required number before the timeout! Wow!
Installing FreeBSD
Finally I could boot from the FreeBSD installation image on the USB memstick and proceeded as usual until I came to Allocating Disk Space at which point if I chose "Auto (ZFS)" it mysteriously fails during the "Archive Extraction" of base.txz with the following message ?:
Yes! ? It's possible to install and ZFS-boot FreeBSD 14.0-RELEASE on a Dell OptiPlex MMF 7010 with a NVMe SSD. As with the installation memstick, the "state three" of the loader a beautiful (high-resolution) beast image is displayed along the default 10s count-down for the boot (On the previous FreeBSD release I didn't achieve that and I love it's now working for me). I imagine (haven't reached that point yet) that installing X wouldn't be an issue as I've already succeeded on an older OptiPlex MMF and FreeBSD 13.2-RELEASE.
PS
I would suspect that (at least) one of the causes for the "Auto (ZFS)" failure could be related to the lack of the -f flag just mentioned.
Along this thread I cannot know at large if what particularly happened to me could be in fact general, nor could I state that the workaround would be the best practice or the right thing to do in a similar case. Thus, what I'm trying to share here is to be taken as a mere contribution which may or may not work under other circumstances or scenarios and I shall not be held responsible for anything that could go wrong, that is, if you try what I've successfully did, in part or in its entirety, do at your own risk. Thank you.
The beginning of the story
I've got a new hardware, Dell OptiPlex Micro Form Factor 7010, on which I was willing to perform a "relatively minimal"
Installing FreeBSD
Finally I could boot from the FreeBSD installation image on the USB memstick and proceeded as usual until I came to Allocating Disk Space at which point if I chose "Auto (ZFS)" it mysteriously fails during the "Archive Extraction" of base.txz with the following message ?:
From this point on the installation seems doomed. Thus, I started over thinking I could possibly choose something different sub-option of "Auto (ZFS)", but I haven't succeeded in any different way I've experimented with. Again I've got stuck in the issue for some time. Puzzled, I've decided to wipe out my NVMe SSD and start over and for that I've rebooted from another memstick with GParted, but that didn't solve either! For some reason I can't explain I've decided to wipe the disk once more but this time I additionally created the EFI partition by hand using GParted. More specifically I did the following:Error while extracting base.txz: Can't replace existing directory with non-directory
- Wiped the disk
- Recreated the GPT partitioning scheme
- Created a 256 MB FAT16 partition and set its BOOT and ESP flags.
- I preferred to wipe the disk with the help of GParted and create the "bootcode partition" as previously mentioned (using 256 MB on FAT16).
- For a NVMe SSD the disk would probably be nda0.
- I've used zfs0 instead of disk0.
- I prefer to use the name system instead of zroot.
- I had to use the -f flag on zpool create -f -o altroot=/mnt system nda0p3.
- Instead of creating zfs create system/usr/home I've used zfs create -o mountpoint=/home system/home.
(and didn't make the symbolic link anymore) - While dropped at the shell I've interactively used vi instead of the copying of a "here-document" to create the /tmp/bsdinstall_etc/fstab.
- The post-install step related to /boot/loader.conf was redundant and I had to undo it before the final reboot.
Yes! ? It's possible to install and ZFS-boot FreeBSD 14.0-RELEASE on a Dell OptiPlex MMF 7010 with a NVMe SSD. As with the installation memstick, the "state three" of the loader a beautiful (high-resolution) beast image is displayed along the default 10s count-down for the boot (On the previous FreeBSD release I didn't achieve that and I love it's now working for me). I imagine (haven't reached that point yet) that installing X wouldn't be an issue as I've already succeeded on an older OptiPlex MMF and FreeBSD 13.2-RELEASE.
PS
I would suspect that (at least) one of the causes for the "Auto (ZFS)" failure could be related to the lack of the -f flag just mentioned.
Last edited: