Today I tried booting FreeBSD from the SATA DOM instead of the USB installer.
When connected to my daily-use PC, this SATA DOM was
da0. So I did ...
Code:
gpart destroy -F da0
dd if=/dev/zero of=/dev/da0 bs=1m count=20
gpart create -s mbr da0
gpart add -t freebsd -i 1 da0
gpart create -s bsd da0s1
gpart add -t freebsd-ufs -i 1 -b 16 da0s1
gpart bootcode -b /boot/mbr da0
gpart set -a active -i 1 da0
gpart bootcode -b /boot/boot da0s1
newfs -Uj -L "FBSDsataDOM" /dev/da0s1a
Then rebooted my daily-use PC off a FreeBSD 13.2R-amd64 USB installer, connected the SATA DOM
(through an USB-SATA dongle) with now became
da1, and installed FreeBSD to da1 with
da1s1a being
/. At the end I dropped to a shell and modified
/etc/fstab on da1s1a so that it tries to mount root from
ada0s1a instead of
da1s1a.
On the mini-PC I enabled everything back on in the BIOS, connected the prepared SATA DOM, disconnected all USB peripherals, connected a PS/2 keyboard and gave this a go to see if it now boots FreeBSD to a login prompt. I did stop at the Beastie screen to hit [3],
set kern.vty to
sc, and try
lsdev and
ls before entering
boot -s. I also took a video recording of the boot process, so that I can slow-motion play that back to see what scrolls through the display. I grabbed still images off the video to show relevant pieces below.
FreeBSD boot still hangs on the mini-PC. Despite now being booted off of the SATA DOM. At the Beastie prompt
lsdev and
ls does confirm proper disk access. And does so too when I boot off of the USB installer.
Conclusion: UART, USB, AHCI and disklabels are now excluded as possible causes for the failure to completely boot FreeBSD on this mini-PC, and I still don't know what is wrong. Plus I ran out of ideas on what to try, again.