1.\" $NetBSD: binstall.8,v 1.3 2002/01/06 18:35:46 wiz Exp $ 2.\" 3.\" Copyright (c) 2002 Matthew R. Green 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. The name of the author may not be used to endorse or promote products 15.\" derived from this software without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.Dd January 6, 2002 30.Dt BINSTALL 8 31.Os 32.Sh NAME 33.Nm /usr/mdec/binstall 34.Nd install sparc and sparc64 boot blocks 35.Sh SYNOPSIS 36.Nm 37.Op Fl htUuv 38.Op Fl b Ar bootprog 39.Op Fl f Ar filesystem 40.Op Fl m Ar mdec 41.Op Fl i Ar installbootprog 42.Oo 43.Dq net 44.Ns \&| 45.Dq ffs 46.Oc 47.Op directory 48.Sh DESCRIPTION 49The 50.Nm 51program prepares a sparc or sparc64 system for booting, either from local 52disk from a 53.Dq ffs 54partition or over the network. The default type of boot block installed 55is derived from the host system. If it is an UltraSPARC, the sparc64 56boot blocks will be used, otherwise the SPARC boot blocks will be used. 57.Nm 58can be forced to prepare a disk for either. 59.Sh OPTIONS 60The following options are available: 61.Bl -tag -width 123456 62.It Fl b 63Set the second stage boot program to 64.Ar bootprog . 65This will typically be 66.Pa boot.net 67for sparc systems and 68.Pa ofwboot.net 69for sparc64 systems. 70.It Fl f 71Set the path to the filesystem being installed for to 72.Ar filesystem . 73This is otherwise derived from the 74.Op directory . 75.It Fl h 76Display help. 77.It Fl i 78Set the path to the 79.Xr installboot 8 80program to 81.Ar installbootprog . 82This is useful for using 83.Nm 84on non-sparc or sparc64 systems. 85.It Fl m 86Sets the path to the machine dependent directory to 87.Ar mdec . 88This is the directory that both the boot blocks and the 89.Xr installboot 8 90program live. 91.It Fl t 92Test mode; does not run any program. Implies the 93.Fl v 94option. 95.It Fl U 96Install sparc (SPARC) boot blocks. 97.It Fl u 98Install sparc64 (UltraSPARC) boot blocks. 99.It Fl v 100Be verbose. 101.El 102.Sh SEE ALSO 103.Xr disklabel 8 , 104.Xr installboot 8 105