> Hello -stable,
> We have a PXE environemt that builds FreeBSD-11 boxes. We've started
> to dip our toes into the 12.x waters, but have had trouble getting
> FreeBSD-12 to pxeboot. It would crash and burn like so:
> Startup error in /boot/lua/loader.lua:
> LUA ERROR: cannot open /boot/lua/loader.lua: device not configured
> On a whim, I pulled the boot/pxeboot binary from our FreeBSD-11
> environment into the new FreeBSD-12 environment, and PXE clients started
> coming right up.
> Is FreeBSD-12's pxeboot broken or have I missed something?
You need to set the NFS mount point properly. I've been able to boot the
FreeBSD 12.0R installer with PXE (after fixing some issues downstream) and
had that error before I had dnsmasq answering queries properly:
is what I used in dnsmasq to get the job done. It was likely overkill
(10.0.0.5 was the NFS, ftfpd and other servers for this exercise).
I had to (a) create a blank /etc/fstab in the mdconfig mounted image and
(b) create the proper /etc/resolv.conf in the F4 shell window just after I
hit commit to make things work. And then configure the network by hand
because the installer's config was wrong. So we've had some regression,
just not the regression you are seeing.