]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/boot98cfg/boot98cfg.8
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / boot98cfg / boot98cfg.8
1 .\" Copyright (c) KATO Takenori, 2000.
2 .\"
3 .\" All rights reserved.  Unpublished rights reserved under the copyright
4 .\" laws of Japan.
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 .\"
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\"    notice, this list of conditions and the following disclaimer as
12 .\"    the first lines of this file unmodified.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\"    notice, this list of conditions and the following disclaimer in the
15 .\"    documentation and/or other materials provided with the distribution.
16 .\" 3. The name of the author may not be used to endorse or promote products
17 .\"    derived from this software without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 .\"
30 .\" $FreeBSD$
31 .\"
32 .Dd July 10, 2000
33 .Dt BOOT98CFG 8
34 .Os
35 .Sh NAME
36 .Nm boot98cfg
37 .Nd HDD boot manager installation utility
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl B
41 .Op Fl i Ar boot0
42 .Op Fl m Ar boot0.5
43 .Op Fl s Ar secsize
44 .Op Fl v Ar version
45 .Op Fl f Ar boot0.bak
46 .Op Fl F Ar boot0.5.bak
47 .Ar disk
48 .Sh DESCRIPTION
49 On NEC PC-98s,
50 .Sq boot loader
51 consists of the
52 .Sq IPL
53 and
54 .Sq HDD boot menu .
55 The IPL occupies sector 0 of a disk and is followed by the partition
56 table.
57 The IPL loads the HDD boot menu that starts from 0x400.
58 .Pp
59 The
60 .Nm
61 utility installs and makes backup copy of the IPL and the HDD boot menu; and
62 allows changing the version number field in the sector 0.
63 .Pp
64 Note that the format command in NEC's OSs replaces the HDD boot menu
65 with its own HDD boot menu when the version number field is smaller
66 than that in the format command.
67 .Pp
68 The options are:
69 .Bl -tag -width indent
70 .It Fl B
71 Install the IPL and HDD boot menu.
72 This option causes the IPL and HDD
73 boot menu code to be replaced.
74 .It Fl i Ar boot0
75 Specify which IPL image to use.
76 The default is /boot/boot0.
77 .It Fl m Ar boot0.5
78 Specify which HDD boot menu image to use.
79 The default is
80 /boot/boot0.5.
81 .It Fl f Ar boot0.bak
82 Specify that a backup copy of the preexisting IPL should be written to
83 .Ar boot0.bak .
84 This file is created if it does not exist, and truncated if it does.
85 .It Fl F Ar boot0.5.bak
86 Specify that a backup copy of the preexisting HDD boot menu should be
87 written to
88 .Ar boot0.5.bak .
89 This file is created if it does not exist, and truncated if it does.
90 .It Fl v Ar version
91 Specify the version number.
92 .It Fl s Ar secsize
93 Specify the sector size.
94 The default sector size is 512
95 (bytes/sector).
96 .El
97 .Sh EXIT STATUS
98 .Ex -std
99 .Sh SEE ALSO
100 .Xr boot 8 ,
101 .Xr fdisk 8
102 .Sh AUTHORS
103 .An NOKUBI Hirotaka ,
104 .An KATO Takenori