mbr(8)

mbr8

Landisk-specific master boot record

Usage

mbr

Overview

The MBR program comprises only one sector (512 bytes) and includes a partition table, since the disk is located in the 0th sector of the disk. Upon receiving control from the system firmware mbr will scan the partition table for an active partition and continue loading the Primary Boot Record (PBR) from the beginning of the partition, if found.

mbr is installed on the disk by fdisk(8), which is also used to operate the partition table.

The partition table consists of four entries, only one of which may be marked as “active”. The PBR is loaded from there.

Diagnostics

A few messages are printed in case of errors:

No active partition

Indicates that none of the partitions are marked “active”.

Read error

An error occurred while fetching the primary boot loader.

No O/S

The partition table is empty.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.