18fae3551SRodney W. Grimes.\" Copyright (c) 1991, 1993 28fae3551SRodney W. Grimes.\" The Regents of the University of California. All rights reserved. 38fae3551SRodney W. Grimes.\" 48fae3551SRodney W. Grimes.\" This code is derived from software written and contributed 58fae3551SRodney W. Grimes.\" to Berkeley by William Jolitz. 68fae3551SRodney W. Grimes.\" 78fae3551SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without 88fae3551SRodney W. Grimes.\" modification, are permitted provided that the following conditions 98fae3551SRodney W. Grimes.\" are met: 108fae3551SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright 118fae3551SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer. 128fae3551SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright 138fae3551SRodney W. Grimes.\" notice, this list of conditions and the following disclaimer in the 148fae3551SRodney W. Grimes.\" documentation and/or other materials provided with the distribution. 158fae3551SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software 168fae3551SRodney W. Grimes.\" must display the following acknowledgement: 178fae3551SRodney W. Grimes.\" This product includes software developed by the University of 188fae3551SRodney W. Grimes.\" California, Berkeley and its contributors. 198fae3551SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors 208fae3551SRodney W. Grimes.\" may be used to endorse or promote products derived from this software 218fae3551SRodney W. Grimes.\" without specific prior written permission. 228fae3551SRodney W. Grimes.\" 238fae3551SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 248fae3551SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 258fae3551SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 268fae3551SRodney W. Grimes.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 278fae3551SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 288fae3551SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 298fae3551SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 308fae3551SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 318fae3551SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 328fae3551SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 338fae3551SRodney W. Grimes.\" SUCH DAMAGE. 348fae3551SRodney W. Grimes.\" 358fae3551SRodney W. Grimes.\" @(#)boot_i386.8 8.2 (Berkeley) 4/19/94 368fae3551SRodney W. Grimes.\" 378fae3551SRodney W. Grimes.Dd April 19, 1994 388fae3551SRodney W. Grimes.Dt BOOT 8 i386 398fae3551SRodney W. Grimes.Os 408fae3551SRodney W. Grimes.Sh NAME 418fae3551SRodney W. Grimes.Nm boot 428fae3551SRodney W. Grimes.Nd 438fae3551SRodney W. Grimessystem bootstrapping procedures 448fae3551SRodney W. Grimes.Sh DESCRIPTION 458fae3551SRodney W. Grimes.Sy Power fail and crash recovery. 468fae3551SRodney W. GrimesNormally, the system will reboot itself at power-up or after crashes. 478fae3551SRodney W. GrimesAn automatic consistency check of the file systems will be performed, 488fae3551SRodney W. Grimesand unless this fails, the system will resume multi-user operations. 498fae3551SRodney W. Grimes.Pp 508fae3551SRodney W. Grimes.Sy Cold starts. 518fae3551SRodney W. GrimesThe 386 528fae3551SRodney W. Grimes.Tn "PC AT" 538fae3551SRodney W. Grimesclones attempt to boot the floppy disk drive A (otherwise known as drive 548fae3551SRodney W. Grimes0) first, and failing that, attempt to boot the hard disk C (otherwise 558fae3551SRodney W. Grimesknown as hard disk controller 1, drive 0). 568fae3551SRodney W. GrimesThe automatic boot will attempt to load 578fae3551SRodney W. Grimes.Pa vmunix 588fae3551SRodney W. Grimesfrom partition A of either the floppy or the hard disk. 598fae3551SRodney W. GrimesThis boot may be aborted by typing any character on the keyboard repeatedly 608fae3551SRodney W. Grimes(four or five times at least) during the operating system load phase, after 618fae3551SRodney W. Grimeswhich the bootstrap will prompt for the file that you wish to load instead. 628fae3551SRodney W. Grimes.Pp 638fae3551SRodney W. GrimesOne exception to this is the 648fae3551SRodney W. Grimes.Ql d 658fae3551SRodney W. Grimeskey, which will not abort the load but instead silently force the 668fae3551SRodney W. Grimes.Dv DEBUG 678fae3551SRodney W. Grimesboot flags. 688fae3551SRodney W. GrimesThe boot flags for an autoboot are 0, and 3 for the successive boot after 698fae3551SRodney W. Grimesan aborted autoboot sequence. 708fae3551SRodney W. GrimesNo other provison is made for setting boot flags (yet). 718fae3551SRodney W. GrimesA specific device or bootstrap file may be used; for example, 728fae3551SRodney W. Grimes.Pp 738fae3551SRodney W. GrimesThe file specifications used for the boostrap 748fae3551SRodney W. Grimeswhen loaded with the 758fae3551SRodney W. Grimes.Dq askme 768fae3551SRodney W. Grimesflag 778fae3551SRodney W. Grimes(e.g. an aborted autoboot) 788fae3551SRodney W. Grimesare of the form: 798fae3551SRodney W. Grimes.Pp 808fae3551SRodney W. Grimes.Dl device unit partition: 818fae3551SRodney W. Grimes.Pp 828fae3551SRodney W. Grimeswhere 838fae3551SRodney W. Grimes.Ar device 848fae3551SRodney W. Grimesis the type of the device, assumed to be on the ISA bus, to be searched, 858fae3551SRodney W. Grimes.Ar unit 868fae3551SRodney W. Grimesis the unit number of the disk or tape, 878fae3551SRodney W. Grimesand 888fae3551SRodney W. Grimes.Ar partition 898fae3551SRodney W. Grimesis the disk partition or tape file number. 908fae3551SRodney W. GrimesNormal line editing characters can be used when typing the file specification. 918fae3551SRodney W. GrimesThe following list of supported devices may vary from installation to 928fae3551SRodney W. Grimesinstallation: 938fae3551SRodney W. Grimes.Bd -unfilled -offset indent 948fae3551SRodney W. Grimeswd ST506, IDE, ESDI, RLL disks on a WD100[2367] or lookalike 958fae3551SRodney W. Grimes controller 968fae3551SRodney W. Grimesfd 5 1/4" or 3 1/2" High density floppies 978fae3551SRodney W. Grimes.Ed 988fae3551SRodney W. Grimes.Pp 998fae3551SRodney W. GrimesFor example, 1008fae3551SRodney W. Grimesto boot from a file system which starts at cylinder 0 1018fae3551SRodney W. Grimesof unit 0 of an IDE disk, type 1028fae3551SRodney W. Grimes.Dq Li wd0a:vmunix 1038fae3551SRodney W. Grimesto the boot prompt; 1048fae3551SRodney W. Grimes.Dq Li fd0a:vmunix 1058fae3551SRodney W. Grimeswould specify a 3 1/2" floppy drive 0 . 1068fae3551SRodney W. Grimes.Pp 1078fae3551SRodney W. GrimesIn an emergency, the bootstrap methods described in the paper 1088fae3551SRodney W. Grimes.%T "Installing and Operating 4.3 BSD-Reno UNIX on the AT/386" 1098fae3551SRodney W. Grimescan be used 1108fae3551SRodney W. Grimesto boot from a distribution tape. 1118fae3551SRodney W. Grimes.Sh FILES 1128fae3551SRodney W. Grimes.Bl -tag -width /vmunixxx -compact 1138fae3551SRodney W. Grimes.It Pa /vmunix 1148fae3551SRodney W. Grimessystem code 1158fae3551SRodney W. Grimes.It Pa /boot 1168fae3551SRodney W. Grimessystem bootstrap 1178fae3551SRodney W. Grimes.El 1188fae3551SRodney W. Grimes.Sh SEE ALSO 1198fae3551SRodney W. Grimes.Xr halt 8 , 1208fae3551SRodney W. Grimes.Xr reboot 8 , 1218fae3551SRodney W. Grimes.Xr shutdown 8 1228fae3551SRodney W. Grimes.Sh BUGS 1238fae3551SRodney W. GrimesThe disklabel format used by this version of 1248fae3551SRodney W. Grimes.Bx 1258fae3551SRodney W. Grimesis quite 1268fae3551SRodney W. Grimesdifferent from that of other architectures. 127