2000-08-02 10:11:08 +00:00
|
|
|
.\" Copyright (c) KATO Takenori, 2000.
|
2001-07-15 08:06:20 +00:00
|
|
|
.\"
|
2000-08-02 10:11:08 +00:00
|
|
|
.\" All rights reserved. Unpublished rights reserved under the copyright
|
|
|
|
.\" laws of Japan.
|
2001-07-15 08:06:20 +00:00
|
|
|
.\"
|
2000-08-02 10:11:08 +00:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
2001-07-15 08:06:20 +00:00
|
|
|
.\"
|
2000-08-02 10:11:08 +00:00
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer as
|
|
|
|
.\" the first lines of this file unmodified.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
2001-07-15 08:06:20 +00:00
|
|
|
.\"
|
2000-08-02 10:11:08 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
|
|
|
.Dd July 10, 2000
|
|
|
|
.Dt BOOT98CFG 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm boot98cfg
|
|
|
|
.Nd HDD boot manager installation utility
|
|
|
|
.Sh SYNOPSIS
|
2002-02-11 04:19:53 +00:00
|
|
|
.Nm
|
2000-08-02 10:11:08 +00:00
|
|
|
.Op Fl B
|
|
|
|
.Op Fl i Ar boot0
|
|
|
|
.Op Fl m Ar boot0.5
|
|
|
|
.Op Fl s Ar secsize
|
|
|
|
.Op Fl v Ar version
|
|
|
|
.Op Fl f Ar boot0.bak
|
|
|
|
.Op Fl F Ar boot0.5.bak
|
|
|
|
.Ar disk
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
On NEC PC-98s,
|
|
|
|
.Sq boot loader
|
|
|
|
consists of the
|
|
|
|
.Sq IPL
|
|
|
|
and
|
2001-02-01 16:44:04 +00:00
|
|
|
.Sq HDD boot menu .
|
2000-08-02 10:11:08 +00:00
|
|
|
The IPL occupies sector 0 of a disk and is followed by the partition
|
2004-07-02 23:13:00 +00:00
|
|
|
table.
|
|
|
|
The IPL loads the HDD boot menu that starts from 0x400.
|
2000-12-27 15:30:30 +00:00
|
|
|
.Pp
|
2000-08-02 10:11:08 +00:00
|
|
|
The
|
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
utility installs and makes backup copy of the IPL and the HDD boot menu; and
|
2000-08-02 10:11:08 +00:00
|
|
|
allows changing the version number field in the sector 0.
|
2000-12-27 15:30:30 +00:00
|
|
|
.Pp
|
2000-08-02 10:11:08 +00:00
|
|
|
Note that the format command in NEC's OSs replaces the HDD boot menu
|
|
|
|
with its own HDD boot menu when the version number field is smaller
|
|
|
|
than that in the format command.
|
2000-12-27 15:30:30 +00:00
|
|
|
.Pp
|
2000-08-02 10:11:08 +00:00
|
|
|
The options are:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl B
|
2004-07-02 23:13:00 +00:00
|
|
|
Install the IPL and HDD boot menu.
|
|
|
|
This option causes the IPL and HDD
|
2000-08-02 10:11:08 +00:00
|
|
|
boot menu code to be replaced.
|
|
|
|
.It Fl i Ar boot0
|
2004-07-02 23:13:00 +00:00
|
|
|
Specify which IPL image to use.
|
|
|
|
The default is /boot/boot0.
|
2000-08-02 10:11:08 +00:00
|
|
|
.It Fl m Ar boot0.5
|
2004-07-02 23:13:00 +00:00
|
|
|
Specify which HDD boot menu image to use.
|
|
|
|
The default is
|
2000-08-02 10:11:08 +00:00
|
|
|
/boot/boot0.5.
|
|
|
|
.It Fl f Ar boot0.bak
|
2001-07-15 08:06:20 +00:00
|
|
|
Specify that a backup copy of the preexisting IPL should be written to
|
2000-08-02 10:11:08 +00:00
|
|
|
.Ar boot0.bak .
|
|
|
|
This file is created if it does not exist, and truncated if it does.
|
|
|
|
.It Fl F Ar boot0.5.bak
|
|
|
|
Specify that a backup copy of the preexisting HDD boot menu should be
|
|
|
|
written to
|
|
|
|
.Ar boot0.5.bak .
|
|
|
|
This file is created if it does not exist, and truncated if it does.
|
|
|
|
.It Fl v Ar version
|
|
|
|
Specify the version number.
|
|
|
|
.It Fl s Ar secsize
|
2004-07-02 23:13:00 +00:00
|
|
|
Specify the sector size.
|
|
|
|
The default sector size is 512
|
2000-08-02 10:11:08 +00:00
|
|
|
(bytes/sector).
|
|
|
|
.El
|
2005-01-18 20:02:45 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
2000-08-02 10:11:08 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr boot 8 ,
|
2000-11-15 17:27:54 +00:00
|
|
|
.Xr fdisk 8
|
2000-08-02 10:11:08 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An NOKUBI Hirotaka ,
|
|
|
|
.An KATO Takenori
|