BOOT(8)

NAME
boot - system bootstrapping procedures

DESCRIPTION
Power fail and crash recovery. Normally, the system will reboot itself at power-up or after crashes. An automatic consistency check of the file systems will be performed as described in fsck(8). and unless this fails, the system will resume multi-user operations.

Cold starts A disk-boot program (/usr/mdec/ufsboot) will attempt to load netbsd from partition A of the boot device, which must currently be an ``sd'' disk. Alternatively, network boot program (/usr/mdec/netboot) will load netbsd from the NFS root as determined by the procedure described in diskless(8).

The [-s] flag to the boot loader will bring the system up in single-user mode. The [-a] flag instructs the system to prompt for the location of the root filesystem and the primary swap partition. The [-d] flag to the boot loader will bring the system up in debug mode. Here it waits for a kernel debugger connect; see ddb(4). Any extra flags or arguments, the after the -- separator, <boot string> are passed to the boot prom. Other flags are currently ignored.

At any time you can break back to the rom by pressing the `L1' and `a' keys at the same time (if the console is a serial port the same is achieved by sending a `break'). If you do this accidentally you can continue whatever was in progress by typing `c' followed by the return key.

FILES
/netbsd
    system code
/usr/mdec/bootxx
    first-level boot block for disks
/usr/mdec/netboot
    boot program for NFS (diskless) boot
/usr/mdec/ufsboot
    second-level boot program for UFS disks
/usr/mdec/installboot
    program to install bootxx on a disk

SEE ALSO
crash(8), disklabel(8), fsck(8), halt(8), init(8), rc(8), shutdown(8), syslogd(8)