1.\" $NetBSD: installboot.8,v 1.8 2001/12/26 01:53:18 wiz Exp $ 2.\" 3.Dd May 31, 1995 4.Dt INSTALLBOOT 8 mvme68k 5.Os 6.Sh NAME 7.Nm installboot 8.Nd install a bootstrap on a UFS disk 9.Sh SYNOPSIS 10.Nm /usr/mdec/installboot 11.Fl n | Fl v 12.Ar ufsboot 13.Ar bootxx 14.Ar rawdev 15.Sh DESCRIPTION 16.Nm 17is used to install a "first-stage" boot program into the boot area 18of a UFS disk partition, and initialize the table of block numbers the 19.Ar bootxx 20program uses to load the second-stage boot program. 21.Pp 22The options are as follows: 23.Bl -tag -width flag 24.It Fl n 25Do not actually write anything on the disk. 26.It Fl v 27Be verbose, printing out the block numbers that 28.Ar bootxx 29will use to load 30.Ar ufsboot . 31.El 32.Pp 33The arguments are: 34.Bl -tag -width ufsboot 35.It Ar ufsboot 36the name of the second-stage boot program in the file system 37where the first-stage boot program is to be installed. 38.It Ar bootxx 39the name of the prototype file for the first stage boot program. 40.It Ar rawdev 41the name of the raw device in which the first-stage boot program 42is to be installed. This should correspond to the block device 43on which the file system containing 44.Ar ufsboot 45is mounted. 46.El 47.Sh SEE ALSO 48.Xr disklabel 8 , 49.Xr init 8 50.Sh BUGS 51.Nm 52requires simultaneous access to the mounted file system and 53the raw device, but that is not allowed with the kernel 54.Dv securelevel 55variable set to a value greater than zero (the default), so 56.Nm 57only works in single-user mode (or insecure mode - see 58.Xr init 8 ) . 59