image = boot/Rel_B.11.11/WINSTALL

Changing the default menu choice

Using auto_adm , you can also change the default menu choice with the following form of the command:

/opt/ignite/bin/auto_adm -D -L label [-f infile] [-o outfile] [-O output_format] [-?]

The following example shows the change in default menu choices from the first to the second option:

$ cat boot.adm

hpux KernelPrompt "Please select something to boot" 10 1 reset

"HP-UX 11.23 64bit (PA-RISC)" -i3 (;0)boot/Rel_B.11.23/WINSTALL "HP-UX 11.11 64bit" boot (;0)boot/Rel_B.11.11/WINSTALL

"Exit" reboot

$ auto_adm -D -L "HP-UX 11.11 64bit" -f boot.adm -o boot.adm2 -O ISL $ cat boot.adm2

hpux KernelPrompt "Please select something to boot" 10 2 reset

"HP-UX 11.23 64bit (PA-RISC)" -i3 (;0)boot/Rel_B.11.23/WINSTALL "HP-UX 11.11 64bit" boot (;0)boot/Rel_B.11.11/WINSTALL

"Exit" reboot

Changing the timeout

The timeout value is used by the boot loader to determine how long to wait for user input before executing the default menu choice (see the next section for more information about how to set the default menu choice).

/opt/ignite/bin/auto_adm -T timeout [-f infile] [-o outfile] [-O output_format] [-?]

In the following example, you can see the timeout change from 10 to 30 seconds (the second last field on the first line) for this file in ISL format:

$ cat boot.isl2

hpux KernelPrompt "Please select something to boot" 10 1 reset

"HP-UX 11.11 32bit w/debug logging" -i3 (;0)boot/Rel_B.11.11/INSTALL "HP-UX 11.11 32bit" boot (;0)boot/Rel_B.11.11/INSTALL

"Exit" reboot

$ auto_adm -T 30 -f boot.isl2 -o boot.isl -O ISL $ cat boot.isl

hpux KernelPrompt "Please select something to boot" 30 1 reset

"HP-UX 11.11 32bit w/debug logging" -i3 (;0)boot/Rel_B.11.11/INSTALL "HP-UX 11.11 32bit" boot (;0)boot/Rel_B.11.11/INSTALL

"Exit" reboot

162