📄 boot_vax.8
字号:
.\" Copyright (c) 1980, 1991, 1993.\" The Regents of the University of California. All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by the University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" @(#)boot_vax.8 8.2 (Berkeley) 4/19/94.\".Dd April 19, 1994.Dt BOOT 8 vax.Os.Sh NAME.Nm boot.Ndsystem bootstrapping procedures.Sh DESCRIPTION.Sy Power fail and crash recovery.Normally, the system will reboot itself at power-up or after crashes.Provided the auto-restart is enabled on the machine front panel,an automatic consistency check of the file systems will be performed,and unless this fails, the system will resume multi-user operations..Pp.Sy Cold starts.These are processor-type dependent.On an 11/780, there are two floppy files for each disk controller,both of which cause boots from unit 0 of the root file systemof a controller located on mba0 or uba0.One gives a single user shell, while the other invokes the multi-userautomatic reboot.Thus these files are.Tn HPSand.Tn HPMfor the singleand multi-user boot from.Tn MASSBUSRP06/RM03/RM05 disks,.Tn UPSand.Tn UPMfor.Tn UNIBUSstorage module controller and diskssuch as the.Tn EMULEXSC-21and.Tn AMPEX9300 pair,.Tn RASand.Tn RAMto boot from.Tn MSCPcontrollers and disks such as the RA81,or.Tn HKSand.Tn HKMfor RK07 disks.There is also a script for booting from the default device,which is normally a copy of one of the standard multi-user boot scripts,but which may be modified to perform other actionsor to boot from a different unit.The situation on the 8600 is similar, with scripts loaded from the console RL02..PpGiving the command.Pp.Dl >>>BOOT HPM.Ppwould boot the system from (e.g.) an RP06 and run the automatic consistencycheck as described in.Xr fsck 8 .(Note that it maybe necessary to type control-Pand halt the processorto gain the attention of the.Tn LSI-11before getting the >>> prompt.)The command.Pp.Dl >>>BOOT ANY.Ppinvokes a version of the boot program in a way which allows you tospecify any system as the system to be booted.It reads from the console a device specification (see below) followedimmediately by a pathname..PpThe scripts may be modified for local configuration if necessary.The flags are placed in register 11 (as defined in.Aq Pa sys/reboot.h ) .The boot device is specified in register 10.The encoding of this register is also defined in.Aq Pa sys/reboot.h .The current encoding has a historical basis, and is shown in the followingtable:.Pp.Bd -unfilled -offset indent -compactbits usage0-7 boot device type (the device major number)8-15 disk partition16-19 drive unit20-23 controller number24-27 adaptor number (UNIBUS or MASSBUS as appropriate).Ed.PpThe adaptor number corresponds to the normal configuration on the 11/750,and to the order in which adaptors are found on the 11/780 and 8600(generally the same as the numbers used by.Tn UNIX ) ..PpOn an 11/750, the reset button will boot from the deviceselected by the front panel boot device switch. In systemswith RK07's, position B normally selects the RK07 for boot.This will boot multi-user. To boot from RK07 with boot flags youmay specify.Pp.Bd -unfilled -offset indent -compact.Li \&>>>B/ Ns Fl n No DMA0.Ed.Ppwhere, giving a.Ar nof 1 causes the boot programto ask for the name of the system to be bootstrapped,giving a.Ar nof 2 causes the boot program to come up singleuser, and a.Ar nof 3 causes both of these actions to occur.The ``DM'' specifies RK07, the ``A'' represents the adaptor number.Pf ( Tn UNIBUSor.Tn MASSBUS ) ,and the ``0'' is the drive unit number.Other disk types which may be used are DB.Pq Tn MASSBUS ,DD (TU58),and DU.Pf ( Tn UDA-50/RAdisk).A non-zero disk partition can be used by adding (partition times 1000 hex)to.Ar n ..PpThe boot procedure on the Micro.Tn VAXIIis similar.A switch on the back panel sets the power-up actionto autoboot or to halt.When halted, the processor may be booted using the same syntaxas on the 11/750..PpThe 11/750 boot procedure uses the boot roms to load block 0 off ofthe specified device. The /usr/mdec directory contains a numberof bootstrap programs for the various disks which should be placedin a new pack by.Xr disklabel 8 .Similarly, the Micro.Tn VAXII boot procedure loads a boot parameter blockfrom block 0 of the disk.The.Xr rdboot.Dq bootstrapcontains the correct parameters for an.Tn MSCPdisk suchas the RD53..PpOn any processor, the .Em bootprogramfinds the corresponding file on the given device .Pf ( Pa vmunixby default), loads that fileinto memory location zero, and starts the program at the entry addressspecified in the program header (after clearing off the high bitof the specified entry address)..PpThe file specifications used with.Dq BOOT ANYor.Dq \&B/3are of the form:.Pp.Dl device(adaptor,controller,unit,minor).Ppwhere.Ar deviceis the type of the device to be searched,.Ar adaptoris the.Tn UNIBUSor.Tn MASSBUSnumber of the adaptor to which the device is attached,.Ar controlleris the unit number of the controller or.Tn MASSBUStape formatter on that adaptor,.Ar unitis the unit number of the disk or transport slave unit of the tape,and.Ar minoris the disk partition or tape file number.Leading adaptor or controller numbers default to 0.Normal line editing characters can be used when typing the file specification.The following list of supported devices may vary from installation toinstallation:.Pp.Bd -unfilled -offset indent -compacthp MASSBUS disk driveup UNIBUS storage module driveht TE16,TU45,TU77 on MASSBUSkra storage module on a KDB50mt TU78 on MASSBUShk RK07 on UNIBUSra storage module on a MSCP-compatible UNIBUS controllerrb storage module on a 730 IDCrl RL02 on UNIBUStm TM11 emulation tape drives on UNIBUStms TMSCP-compatible tapets TS11 on UNIBUSut UNIBUS TU45 emulator.Ed.PpFor example,to boot from a file system which starts at cylinder 0of unit 0 of a.Tn MASSBUSdisk, type.Ql hp(0,0)vmunixto the boot prompt;.Ql hp(2,0,1,0)vmunixwould specify drive 1 on.Tn MASSBUSadaptor 2;.Ql up(0,0)vmunixwould specify a.Tn UNIBUSdrive,.Ql hk(0,0)vmunixwould specifyan RK07 disk drive,.Ql ra(1,0,0,0)vmunixwould specify a.Tn UDA50disk drive on a second.Tn UNIBUS ,and.Ql rb(0,0)vmunixwould specify adisk on a 730.Tn IDC .For tapes, the minor device number gives a file offset;.Ql mt(1,2,3,4)would specify the fifth file on slave 3 of the formatterat.Ql drive2 on mba 1..PpOn an 11/750 with patchable control store,microcode patches will be installed by.Em bootif the file.Pa psc750.binexists in the root of the filesystem from which the system is booted..PpIn an emergency, the bootstrap methods described in the paper.%T Installing and Operating 4.3bsdcan be used to boot from a distribution tape..Sh FILES.Bl -tag -width /usr/mdec/xxboot -compact.It Pa /vmunixsystem code.It Pa /bootsystem bootstrap.It Pa /usr/mdec/xxbootsector-0 boot block for 750, xx is disk type.It Pa /usr/mdec/bootxxsecond-stage boot for 750, xx is disk type.It Pa /pcs750.binmicrocode patch file on 750.El.Sh SEE ALSO.Xr arff 8 ,.Xr halt 8 ,.Xr reboot 8 ,.Xr shutdown 8.Sh HISTORYThe.Nmcommand appeared in.Bx 4.0 .
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -