First go to the download area of openbsd (example : http://ftp.heanet.ie/pub/OpenBSD/4.9/amd64/) you'll need two files :
- pxeboot
- bsd.rd (rd stands for ramdisk)
With these two files,you need to setup a pxe boot environment.
Next you need to set up a DHCP server that recognize the MAC address of the card and set the option filename and next-server.
Here is a example for a linux dhcpd :
host soekris {
hardware ethernet 00:00:AB:CD:EF:1c;
fixed-address 192.168.0.150;
filename "pxeboot";
next-server 192.168.0.98;
}
Where your nextserver is a tftp server serving the files /pxeboot and /bsd.rd
On Windows I use the excellent tftpd32d (http://tftpd32.jounin.net/)
You need to activate only the TFTP option and set the directory to the one containing both of your files and start it.
Now boot your machine with PXE enabled. Make sure your dhcp daemon is serving the right address and the right information (check for DHCPACK in the logs)
The filename option will instructs your machine to load and run the pxeboot which is the first stage (somewhat equivalent to grub). Then, at the prompt, you may wait or just enter bsd.rd. This file will be downloaded from the TFTP server also and will starts the installation procedure.
You may also consult the official documentation at http://ftp.heanet.ie/pub/OpenBSD/4.9/amd64/INSTALL.amd64
and look for the section "Creating a PXE network bootable setup using OpenBSD or other Un*x-like system:"