1*43148f18Sreed.\" $NetBSD: binstall.8,v 1.5 2008/09/24 18:19:13 reed Exp $ 29230e402Smrg.\" 39230e402Smrg.\" Copyright (c) 2002 Matthew R. Green 49230e402Smrg.\" All rights reserved. 59230e402Smrg.\" 69230e402Smrg.\" Redistribution and use in source and binary forms, with or without 79230e402Smrg.\" modification, are permitted provided that the following conditions 89230e402Smrg.\" are met: 99230e402Smrg.\" 1. Redistributions of source code must retain the above copyright 109230e402Smrg.\" notice, this list of conditions and the following disclaimer. 119230e402Smrg.\" 2. Redistributions in binary form must reproduce the above copyright 129230e402Smrg.\" notice, this list of conditions and the following disclaimer in the 139230e402Smrg.\" documentation and/or other materials provided with the distribution. 149230e402Smrg.\" 159230e402Smrg.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 169230e402Smrg.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 179230e402Smrg.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 189230e402Smrg.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 199230e402Smrg.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 209230e402Smrg.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 219230e402Smrg.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 229230e402Smrg.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 239230e402Smrg.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 249230e402Smrg.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 259230e402Smrg.\" SUCH DAMAGE. 269230e402Smrg.\" 279230e402Smrg.Dd January 6, 2002 28*43148f18Sreed.Dt BINSTALL 8 sparc 299230e402Smrg.Os 309230e402Smrg.Sh NAME 319230e402Smrg.Nm /usr/mdec/binstall 329230e402Smrg.Nd install sparc and sparc64 boot blocks 339230e402Smrg.Sh SYNOPSIS 349230e402Smrg.Nm 3505a18a01Swiz.Op Fl htUuv 369230e402Smrg.Op Fl b Ar bootprog 379230e402Smrg.Op Fl f Ar filesystem 389230e402Smrg.Op Fl m Ar mdec 399230e402Smrg.Op Fl i Ar installbootprog 4005a18a01Swiz.Oo 4105a18a01Swiz.Dq net 4205a18a01Swiz.Ns \&| 4305a18a01Swiz.Dq ffs 4405a18a01Swiz.Oc 459230e402Smrg.Op directory 469230e402Smrg.Sh DESCRIPTION 479230e402SmrgThe 489230e402Smrg.Nm 499230e402Smrgprogram prepares a sparc or sparc64 system for booting, either from local 509230e402Smrgdisk from a 519230e402Smrg.Dq ffs 529230e402Smrgpartition or over the network. The default type of boot block installed 539230e402Smrgis derived from the host system. If it is an UltraSPARC, the sparc64 549230e402Smrgboot blocks will be used, otherwise the SPARC boot blocks will be used. 5505a18a01Swiz.Nm 5605a18a01Swizcan be forced to prepare a disk for either. 579230e402Smrg.Sh OPTIONS 589230e402SmrgThe following options are available: 599230e402Smrg.Bl -tag -width 123456 609230e402Smrg.It Fl b 619230e402SmrgSet the second stage boot program to 629230e402Smrg.Ar bootprog . 639230e402SmrgThis will typically be 649230e402Smrg.Pa boot.net 659230e402Smrgfor sparc systems and 669230e402Smrg.Pa ofwboot.net 679230e402Smrgfor sparc64 systems. 689230e402Smrg.It Fl f 699230e402SmrgSet the path to the filesystem being installed for to 709230e402Smrg.Ar filesystem . 719230e402SmrgThis is otherwise derived from the 729230e402Smrg.Op directory . 7305a18a01Swiz.It Fl h 7405a18a01SwizDisplay help. 759230e402Smrg.It Fl i 769230e402SmrgSet the path to the 779230e402Smrg.Xr installboot 8 789230e402Smrgprogram to 799230e402Smrg.Ar installbootprog . 809230e402SmrgThis is useful for using 819230e402Smrg.Nm 829230e402Smrgon non-sparc or sparc64 systems. 8305a18a01Swiz.It Fl m 8451bc5443SwizSets the path to the machine dependent directory to 8505a18a01Swiz.Ar mdec . 8605a18a01SwizThis is the directory that both the boot blocks and the 8705a18a01Swiz.Xr installboot 8 8805a18a01Swizprogram live. 8905a18a01Swiz.It Fl t 9005a18a01SwizTest mode; does not run any program. Implies the 9105a18a01Swiz.Fl v 9205a18a01Swizoption. 9305a18a01Swiz.It Fl U 9405a18a01SwizInstall sparc (SPARC) boot blocks. 9505a18a01Swiz.It Fl u 9605a18a01SwizInstall sparc64 (UltraSPARC) boot blocks. 9705a18a01Swiz.It Fl v 9805a18a01SwizBe verbose. 999230e402Smrg.El 1009230e402Smrg.Sh SEE ALSO 1019230e402Smrg.Xr disklabel 8 , 1029230e402Smrg.Xr installboot 8 103