Linux and Grub:

Add "single" to the kernel command line

FreeBSD loader:

Set variable "boot_single"