1.\" $OpenBSD: mbr.8,v 1.7 2017/07/06 17:24:49 schwarze Exp $ 2.\" 3.\" Copyright (c) 2006 Michael Shalayeff 4.\" All rights reserved. 5.\" 6.\" Permission to use, copy, modify, and distribute this software for any 7.\" purpose with or without fee is hereby granted, provided that the above 8.\" copyright notice and this permission notice appear in all copies. 9.\" 10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14.\" WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN 15.\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 16.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" 18.Dd $Mdocdate: July 6 2017 $ 19.Dt MBR 8 landisk 20.Os 21.Sh NAME 22.Nm mbr 23.Nd LANDISK-specific Master Boot Record 24.Sh SYNOPSIS 25.Nm 26.Sh DESCRIPTION 27The 28.Nm MBR 29program comprises only one sector (512 bytes) and includes 30a partition table, since the disk is located in the 0th sector of the disk. 31Upon receiving control from the system firmware 32.Nm 33will scan the partition table for an active partition and continue 34loading the Primary Boot Record (PBR) from the beginning of the 35partition, if found. 36.Pp 37.Nm 38is installed on the disk by 39.Xr fdisk 8 , 40which is also used to operate the partition table. 41.Pp 42The partition table consists of four entries, only one of which may be 43marked as 44.Dq active . 45The PBR is loaded from there. 46.Sh DIAGNOSTICS 47A few messages are printed in case of errors: 48.Bl -tag -width "no_active_partitionXX" 49.It "No active partition" 50Indicates that none of the partitions are marked 51.Dq active . 52.It Read error 53An error occurred while fetching the primary boot loader. 54.It "No O/S" 55The partition table is empty. 56.El 57.Sh SEE ALSO 58.Xr boot 8 , 59.Xr disklabel 8 , 60.Xr fdisk 8 , 61.Xr xxboot 8 62