Build a kernel with options COMCONSOLE.
Create /boot.config and place -P as the only text in the file.
Unplug the keyboard from the system.
See /usr/src/sys/i386/boot/biosboot/README.serial for information.