1.\" $OpenBSD: xxboot.8,v 1.3 2007/05/31 19:20:04 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 XXBOOT 8 landisk 20.Os 21.Sh NAME 22.Nm xxboot 23.Nd 24LANDISK-specific primary boot loader 25.Sh DESCRIPTION 26This small program, residing in the reserved sectors at the beginning 27of the root file system of the system, is responsible for loading 28the second-stage 29.Xr boot 8 30program (typically /boot), which in turn will load the kernel. 31.Pp 32To install (or update) the 33.Nm 34program, use 35.Xr disklabel 8 36with the 37.Fl B 38switch. 39.Pp 40When 41.Nm 42receives control from the master boot record (MBR) it will print a banner: 43.Pp 44.Dl OpenBSD MBR 45.Pp 46followed by a little twiddler while reading the second-stage boot. 47.Sh FILES 48.Bl -tag -width /usr/mdec/xxboot -compact 49.It Pa /usr/mdec/mbr 50Master Boot Record block 51.It Pa /usr/mdec/xxboot 52primary bootstrap 53.It Pa /boot 54secondary bootstrap 55.It Pa /bsd 56.Ox 57kernel 58.It Pa /bsd.rd 59.Ox 60kernel for installation/recovery 61.El 62.Sh DIAGNOSTICS 63.Nm 64will print messages indicating errors as returned from the firmware. 65.Sh SEE ALSO 66.Xr boot 8 , 67.Xr boot_landisk 8 , 68.Xr disklabel 8 , 69.Xr fdisk 8 , 70.Xr mbr 8 71