HP OpenVMS Version 8.3 Upgrade and Installation Manual > Appendix A Booting and Shutting Down Your OpenVMS Alpha
SystemConfiguring Boot Behavior for Alpha Systems
The following sections describe how to set up automatic booting, set and show the default boot device, modify boot parameters, and create a bootable OpenVMS Alpha system disk using the Writeboot utility. Alpha computers can boot automatically from a designated boot device. When you installed the OpenVMS Alpha operating system, you designated the system disk as the default boot device. “Setting and Showing Boot Devices” describes how to change the default boot device. Alpha computers can boot automatically from the default boot device under the following conditions:
Set the system to boot automatically by performing one of the following steps:
Use the SET BOOTDEF_DEV command to tell the system which drive you want to boot from (that drive becomes the default boot device). Use the SHOW BOOTDEF_DEV command to display the current default boot device. Note that when you set this variable, HP recommends that you set the operating system boot parameters as well, using the SET BOOT_OSFLAGS command. At the console prompt (>>>), enter the SET BOOTDEF_DEV command in the following format: SET BOOTDEF_DEV device-name Substitute the device name of the system disk for device-name. For example, to boot from a drive with a device name of DKA400 on a DEC 3000 Alpha series computer, enter the following command and press Enter:
The next time you boot the system, you can enter the BOOT command without specifying a device name (because DKA400 is now the default boot device). For example:
Use the SHOW BOOTDEF_DEV command to find out what drive was specified in the last SET BOOT command. For example:
To cancel the drive specified in a previous SET BOOTDEF_DEV command, enter the following command and press Enter:
By default, when you boot the operating system, the flags parameter is set to 0. If you want to define parameters to enable specific functions during the booting process, use the SET BOOT_OSFLAGS console command. The following is a list of values you can specify with the SET BOOT_OSFLAGS command.
The following examples show how to use the SET BOOT_OSFLAGS command:
To display the parameters you have just set, use the SHOW BOOT_OSFLAGS command. For example:
Now that the boot parameters have been set, to boot the system using the parameters you have specified, simply type BOOT or B at the prompt (>>>). The boot block is block 0 of the system disk. It contains the size and location of the primary bootstrap image (APB.EXE) used to boot the system. If you suspect that the boot block on your system disk is invalid, you can use the Writeboot utility (WRITEBOOT.EXE) to write a new boot block. The Writeboot utility is copied to your system disk during the installation procedure. It enables you to create a bootable OpenVMS Alpha system disk from one that was originally created by one of the following methods:
The Writeboot utility also enables you to rewrite the boot block of an OpenVMS Alpha system disk to point to a new version of the OpenVMS Alpha primary bootstrap file (APB.EXE) that you have previously copied to the disk. (Note that the file must be contiguous.)
To start the Writeboot utility, enter the following command:
The utility prompts you as follows:
Answer N (NO) to the VAX prompt. If you answer Y (YES) to update the Alpha boot block, the utility prompts you for the Alpha boot file:
Specify device-name:[VMS$COMMON.SYSEXE]APB.EXE in response to this prompt, where device-name indicates the device on which the system disk is mounted. The utility writes the specified information to the boot block on the system disk. For more information, see the HP OpenVMS System Manager's Manual, Volume 1: Essentials. |