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