Setting up TFPd
This is one of the easiest pieces to get working.
- mkdir /tftpboot.
- Uncomment the tftp line in /etc/inetd.conf.
- Add inetd_enable=“YES” to your /etc/rc.conf.
- Run /etc/rc.d/inetd start.
Now that the server is working, we need the boot loader that will be served via TFTP to the PXE loader on your machine.
- cp /sys/boot/i386/pxeldr/pxeboot /tftpboot
If this file is not found, do this:
- cd /usr/src/sys/boot
- make clean
- make depend
- make
- cp i386/pxeldr/pxeboot /tftpboot
Now the boot loader is ready.