2002-01-06 21:35:46 +03:00
|
|
|
.\" $NetBSD: binstall.8,v 1.3 2002/01/06 18:35:46 wiz Exp $
|
2002-01-06 10:44:11 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2002 Matthew R. Green
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
|
|
|
.\" 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.
|
|
|
|
.\"
|
|
|
|
.Dd January 6, 2002
|
|
|
|
.Dt BINSTALL 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm /usr/mdec/binstall
|
|
|
|
.Nd install sparc and sparc64 boot blocks
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2002-01-06 20:27:05 +03:00
|
|
|
.Op Fl htUuv
|
2002-01-06 10:44:11 +03:00
|
|
|
.Op Fl b Ar bootprog
|
|
|
|
.Op Fl f Ar filesystem
|
|
|
|
.Op Fl m Ar mdec
|
|
|
|
.Op Fl i Ar installbootprog
|
2002-01-06 20:27:05 +03:00
|
|
|
.Oo
|
|
|
|
.Dq net
|
|
|
|
.Ns \&|
|
|
|
|
.Dq ffs
|
|
|
|
.Oc
|
2002-01-06 10:44:11 +03:00
|
|
|
.Op directory
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
program prepares a sparc or sparc64 system for booting, either from local
|
|
|
|
disk from a
|
|
|
|
.Dq ffs
|
|
|
|
partition or over the network. The default type of boot block installed
|
|
|
|
is derived from the host system. If it is an UltraSPARC, the sparc64
|
|
|
|
boot blocks will be used, otherwise the SPARC boot blocks will be used.
|
2002-01-06 20:27:05 +03:00
|
|
|
.Nm
|
|
|
|
can be forced to prepare a disk for either.
|
2002-01-06 10:44:11 +03:00
|
|
|
.Sh OPTIONS
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width 123456
|
|
|
|
.It Fl b
|
|
|
|
Set the second stage boot program to
|
|
|
|
.Ar bootprog .
|
|
|
|
This will typically be
|
|
|
|
.Pa boot.net
|
|
|
|
for sparc systems and
|
|
|
|
.Pa ofwboot.net
|
|
|
|
for sparc64 systems.
|
|
|
|
.It Fl f
|
|
|
|
Set the path to the filesystem being installed for to
|
|
|
|
.Ar filesystem .
|
2002-01-06 20:27:05 +03:00
|
|
|
This is otherwise derived from the
|
2002-01-06 10:44:11 +03:00
|
|
|
.Op directory .
|
2002-01-06 20:27:05 +03:00
|
|
|
.It Fl h
|
|
|
|
Display help.
|
2002-01-06 10:44:11 +03:00
|
|
|
.It Fl i
|
|
|
|
Set the path to the
|
|
|
|
.Xr installboot 8
|
|
|
|
program to
|
|
|
|
.Ar installbootprog .
|
|
|
|
This is useful for using
|
|
|
|
.Nm
|
|
|
|
on non-sparc or sparc64 systems.
|
2002-01-06 20:27:05 +03:00
|
|
|
.It Fl m
|
2002-01-06 21:35:46 +03:00
|
|
|
Sets the path to the machine dependent directory to
|
2002-01-06 20:27:05 +03:00
|
|
|
.Ar mdec .
|
|
|
|
This is the directory that both the boot blocks and the
|
|
|
|
.Xr installboot 8
|
|
|
|
program live.
|
|
|
|
.It Fl t
|
|
|
|
Test mode; does not run any program. Implies the
|
|
|
|
.Fl v
|
|
|
|
option.
|
|
|
|
.It Fl U
|
|
|
|
Install sparc (SPARC) boot blocks.
|
|
|
|
.It Fl u
|
|
|
|
Install sparc64 (UltraSPARC) boot blocks.
|
|
|
|
.It Fl v
|
|
|
|
Be verbose.
|
2002-01-06 10:44:11 +03:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr disklabel 8 ,
|
|
|
|
.Xr installboot 8
|