Annotation of sys/arch/landisk/stand/mbr/mbr.8, Revision 1.1
1.1 ! nbrk 1: .\" $OpenBSD: mbr.8,v 1.4 2007/05/31 19:20:03 jmc 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: May 31 2007 $
! 19: .Dt MBR 8 landisk
! 20: .Os
! 21: .Sh NAME
! 22: .Nm mbr
! 23: .Nd
! 24: LANDISK-specific Master Boot Record
! 25: .Sh SYNOPSIS
! 26: .Nm
! 27: .Sh DESCRIPTION
! 28: The
! 29: .Nm MBR
! 30: program comprises only one sector (512 bytes) and includes
! 31: a partition table, since the disk is located in the 0th sector of the disk.
! 32: Upon receiving control from the system firmware
! 33: .Nm
! 34: will scan the partition table for an active partition and continue
! 35: loading the Primary Boot Record (PBR) from the beginning of the
! 36: partition, if found.
! 37: .Pp
! 38: .Nm
! 39: is installed on the disk by
! 40: .Xr fdisk 8 ,
! 41: which is also used to operate the partition table.
! 42: .Pp
! 43: The partition table consists of four entries, only one of which may be
! 44: marked as
! 45: .Dq active .
! 46: The PBR is loaded from there.
! 47: .Sh DIAGNOSTICS
! 48: A few messages are printed in case of errors:
! 49: .Bl -tag -width "no_active_partitionXX"
! 50: .It "No active partition"
! 51: Indicates that none of the partitions are marked
! 52: .Dq active .
! 53: .It Read error
! 54: An error occurred while fetching the primary boot loader.
! 55: .It "No O/S"
! 56: The partition table is empty.
! 57: .El
! 58: .Sh SEE ALSO
! 59: .Xr boot 8 ,
! 60: .Xr boot_landisk 8 ,
! 61: .Xr bootxx 8 ,
! 62: .Xr disklabel 8 ,
! 63: .Xr fdisk 8
CVSweb