BOOT_PEGASOS(8)    OpenBSD System Manager's Manual (Pegasos)   BOOT_PEGASOS(8)

NAME
     boot_pegasos - Pegasos system bootstrapping procedures

DESCRIPTION
   System startup
     When powered on, after a panic, or if the system is rebooted via
     reboot(8) or shutdown(8), the Open Firmware will proceed to its initial-
     ization, and will boot an operating system if the auto-boot? variable is
     set to ``true'', or will wait for interactive commands otherwise.

   Boot process description
     The Pegasos OpenFirmware will normally load a secondary bootloader pro-
     gram from the device and filename as instructed by the boot-device and
     boot-file variables.  To boot OpenBSD, boot-device should be set to
     ``ofwboot'', while boot-device should point to the OpenBSD partition,
     usually ``hd:3'' to refer to the last partition of the first hard drive.

   Boot process options
     The OpenBSD bootloader will look for a kernel named bsd by default.  A
     different kernel name, as well as kernel options, can be specified as pa-
     rameters to ofwboot, when booting manually with the boot command, such as
     in:

          boot hd:3 ofwboot obsd -s

     The following options are recognized:

           -a    Prompt for the root filesystem and swap devices after the de-
                 vices have been configured.
           -c    Enter the ``User Kernel Config'' mode upon startup (see
                 boot_config(8)).
           -d    Enter the debugger, ddb(4), as soon as the kernel console has
                 been initialized.
           -s    Boot the system single-user.  The system will be booted mul-
                 ti-user unless this option is specified.

   Abnormal system termination
     In case of system crashes, the kernel will usually enter the kernel de-
     bugger, ddb(4), unless it is not present in the kernel, or it is disabled
     via the ddb.panic sysctl.  Upon leaving ddb, or if ddb was not entered,
     the kernel will halt the system if it was still in device configuration
     phase, or attempt a dump to the configured dump device, if possible.  The
     crash dump will then be recovered by savecore(8) during the next multi-
     user boot cycle.  It is also possible to force other behaviours from ddb.

   Accessing OpenFirmware
     If the auto-boot? variable is set to ``true'', the boot process can be
     aborted by pressing the escape key during the first few seconds of the
     firmware initialization.

FILES
     /bsd               default system kernel
     /usr/mdec/ofwboot  OpenBSD bootloader (usually installed as /ofwboot)

SEE ALSO
     ddb(4), boot_config(8), halt(8), init(8), installboot(8), reboot(8),
     savecore(8), shutdown(8)

OpenBSD 3.5                     March 17, 2004                               1
