1.\" $NetBSD: installboot.8,v 1.2 1997/10/13 11:24:26 lukem Exp $ 2.\" 3.Dd 31 May 1995 4.Dt INSTALLBOOT 8 5.Os 6.Sh NAME 7.Nm installboot 8.Nd install a bootstrap on a UFS disk 9.Sh SYNOPSIS 10.Nm installboot 11.Fl n | Fl v 12.Ar ufsboot 13.Ar bootxx 14.Ar rawdev 15.Sh DESCRIPTION 16.Nm installboot 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 BUGS 48.Nm installboot 49requires simultaneous access to the mounted file system and 50the raw device, but that is not allowed with the kernel 51.Nm securelevel 52variable set to a value greater than zero (the default), so 53.Nm installboot 54only works in single-user mode (or insecure mode - see 55.Xr init 8 ). 56.Sh "SEE ALSO" 57.Xr disklabel 8 , 58.Xr init 8 59