Annotation of sys/arch/mvme68k/stand/installboot/installboot.8, Revision 1.1.1.1
1.1 nbrk 1: .\" $OpenBSD: installboot.8,v 1.16 2007/05/31 19:20:04 jmc Exp $
2: .\"
3: .\" Copyright (c) 1994 Paul Kranenburg
4: .\" All rights reserved.
5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
14: .\" 3. All advertising materials mentioning features or use of this software
15: .\" must display the following acknowledgement:
16: .\" This product includes software developed by Paul Kranenburg.
17: .\" 4. The name of the author may not be used to endorse or promote products
18: .\" derived from this software without specific prior written permission
19: .\"
20: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23: .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30: .\"
31: .Dd $Mdocdate: May 31 2007 $
32: .Dt INSTALLBOOT 8 mvme68k
33: .Os
34: .Sh NAME
35: .Nm installboot
36: .Nd install a bootstrap on an FFS disk
37: .Sh SYNOPSIS
38: .Nm installboot
39: .Op Fl n
40: .Op Fl v
41: .Ar boot
42: .Ar bootxx
43: .Ar rawdev
44: .Sh DESCRIPTION
45: .Nm installboot
46: is used to install a "first-stage" boot program into the boot area
47: of an FFS disk partition, and initialize the table of block numbers the
48: .Ar bootxx
49: program uses to load the second-stage boot program.
50: .Pp
51: The options are as follows:
52: .Bl -tag -width flag
53: .It Fl n
54: Do not actually write anything on the disk.
55: .It Fl v
56: Be verbose, printing out the block numbers that
57: .Ar bootxx
58: will use to load
59: .Ar boot .
60: .El
61: .Pp
62: The arguments are:
63: .Bl -tag -width bootxx
64: .It Ar boot
65: the name of the second-stage boot program in the file system
66: where the first-stage boot program is to be installed.
67: .It Ar bootxx
68: the name of the prototype file for the first stage boot program.
69: .It Ar rawdev
70: the name of the raw device in which the first-stage boot program
71: is to be installed.
72: This should correspond to the block device on which the file system containing
73: .Ar boot
74: is mounted.
75: .El
76: .Sh EXAMPLES
77: .Bd -literal
78: cp /usr/mdec/bootsd /boot
79: /usr/mdec/installboot /boot /usr/mdec/bootxx /dev/rsd0a
80: .Ed
81: .Sh SEE ALSO
82: .Xr disklabel 8 ,
83: .Xr init 8
84: .Sh BUGS
85: .Nm installboot
86: requires simultaneous access to the mounted file system and
87: the raw device, but that is not allowed with the kernel
88: .Nm securelevel
89: variable set to a value greater than zero (the default), so
90: .Nm installboot
91: only works in single-user mode (or insecure mode - see
92: .Xr init 8 ) .
CVSweb