Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Booting and Shutdown
Booting Systems
Chapter 5492
Example 5-14 Disabling the Autoboot Flag Using setboot
/usr/sbin/setboot -b off
Example 5-15 Enabling the Autosearch Flag Using setboot
/usr/sbin/setboot -s on
Example 5-16 Disabling the Autosearch Flag Using setboot
/usr/sbin/setboot -s off
Changing the PRI, HAA, and ALT Boot Paths
HP 9000 systems allow you to define a primary boot path and an
alternate boot path, and in many cases a high-availability alternate boot
path.
The primary boot path allows autoboot to work properly, and all three
definitions allow you to easily refer to the corresponding hardware paths
when you need to (for example, in the Boot Console Handler you can use
the command “boot alt” to boot from the hardware device associated
with the ALT boot path).
You can manage the boot paths using the setboot command when
HP-UX is running, or by using the Boot Console Handler interface in a
pre-boot environment.
Setting the PRI, HAA, and ALT Boot Paths using the HP-UX setboot
command:
When you use setboot to configure the primary (PRI), high-availability
alternate (HAA), or alternate (ALT) boot paths, the new device path that
you specify replaces the original boot option setting.
NOTE The boot device path that you specify in the setboot command (
path
in
the following examples) must be a valid HP-UX hardware path to a
bootable HP-UX device.
• Use the setboot -p
path
command to set the primary boot path, for
example:
/usr/sbin/setboot -p 0/0/2/0/0.6