What I'm trying to do:
One computer running FreeBSD 14.3 that hosts a TFTP server, an NFS server and a DHCP server that provides all the over-the-network data needed to boot another machine whose BIOS has been set to boot over the built-in network adapter.
What I've Done
I've read the handbook instructions on diskless, I've read the section on mwl's Absolute FreeBSD on diskless, and I've read the excellent comments in /etc/rc.initdiskless.
I enabled tftpd via inetd and confirmed it works from a third machine.
I installed and configured isc-dhcpd to serve as the DHCP server. Also confirmed that this works.
I created a separate ZFS dataset to hold data served by NFS.
I've enabled nfsd and pointed to the new data set. In the exports, I have this directory as read-only.
I'll un-tar'd base.txz and kernel.txz to this new dataset.
I've done my best to hand edit the ./config/w.x.y.z/etc folder with configuration specifics for the target machine.
Pressed the power button with fingers crossed.
How It's Going So Far ...
On the target machine, I see the boot loader menu. Great!
I press 3 to drop the loader prompt and use the 'ls' command to look around. The contents of the NFS share are where I expect them to be. Also great!
I type 'boot' to resume the boot process. I see text fly on the console as numerous devices are discovered and configured as the kernel loads. There's a pause followed by:
After this - nothing. The capslock and numlock lights work on the keyboard but keypresses are not echoed back to the console.
From the third machine, I can ping this new host so the IP stack is up and running.
I am so close but clearly something is missing that prevents the target host from reaching multiuser (or even single) mode.
One computer running FreeBSD 14.3 that hosts a TFTP server, an NFS server and a DHCP server that provides all the over-the-network data needed to boot another machine whose BIOS has been set to boot over the built-in network adapter.
What I've Done
I've read the handbook instructions on diskless, I've read the section on mwl's Absolute FreeBSD on diskless, and I've read the excellent comments in /etc/rc.initdiskless.
I enabled tftpd via inetd and confirmed it works from a third machine.
I installed and configured isc-dhcpd to serve as the DHCP server. Also confirmed that this works.
I created a separate ZFS dataset to hold data served by NFS.
I've enabled nfsd and pointed to the new data set. In the exports, I have this directory as read-only.
I'll un-tar'd base.txz and kernel.txz to this new dataset.
I've done my best to hand edit the ./config/w.x.y.z/etc folder with configuration specifics for the target machine.
Pressed the power button with fingers crossed.
How It's Going So Far ...
On the target machine, I see the boot loader menu. Great!
I press 3 to drop the loader prompt and use the 'ls' command to look around. The contents of the NFS share are where I expect them to be. Also great!
I type 'boot' to resume the boot process. I see text fly on the console as numerous devices are discovered and configured as the kernel loads. There's a pause followed by:
em0: link state changed to UP
After this - nothing. The capslock and numlock lights work on the keyboard but keypresses are not echoed back to the console.
From the third machine, I can ping this new host so the IP stack is up and running.
I am so close but clearly something is missing that prevents the target host from reaching multiuser (or even single) mode.