BOOT_LUNA88K(8) | System Manager's Manual (luna88k) | BOOT_LUNA88K(8)

# NAME

`boot_luna88k` — luna88k system bootstrapping procedures

# DESCRIPTION

## Boot process description

When powered on, or after a system reboot, the luna88k ROM monitor will proceed to its initialization, and will boot the operating system configured in nvram if autoboot is enabled.

## DIP switches description

The behaviour of the ROM monitor, as well as some kernel options, are controlled through the SW1 set of DIP switches on the front panel.

The switch positions are not the same on LUNA-88K and LUNA-88K2 models. On LUNA-88K, a switch is enabled when in the down position, while on the LUNA-88K2, a switch is enabled when in the up position.

The following SW1 switches alter the ROM monitor behaviour:

Switch | Enabled | Disabled
`1` | interact with ROM monitor | auto-boot
`2` | serial console | graphics console

The following switches alter the kernel behaviour:

Switch | Enabled | Disabled
`1` | boot in single-user mode | boot in multi-user mode
`3` | prompt for root device | do not prompt for root device
`4` | enter UKC mode | do not enter UKC mode

Note that the same behaviour can be used by passing the `-s`, `-a`, and `-c` options respectively in the boot loader, rather than using the switches.

For more details about the “User Kernel Configuration” mode (UKC), see boot_config(8).

Note that the first switch controls both the kernel and the ROM monitor behaviour.

## Abnormal system termination

In case of system crashes, the kernel will usually enter the kernel debugger, 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.

# FILES

/bsd
  default system kernel
/bsd.rd
  standalone installation kernel, suitable for disaster recovery

# SEE ALSO

ddb(4), boot(8), boot_config(8), halt(8), init(8), reboot(8), savecore(8), shutdown(8)

January 12, 2023 | Debian