HP-UX System Administrator's Guide: Routine Management Tasks

3. Change directories to where the AUTO file is located. In the EFI file system for
each HP-UX bootable device the AUTO file is located in the \EFI\HPUX directory:
fs0:\> cd \EFI\HPUX
The prompt changes again to reflect your new location:
fs0:\EFI\HPUX>
a. You can display the contents of the directory using the ls command:
fs0:\EFI\HPUX> ls
Directory of: fs0:\EFI\HPUX
06/03/04 03:31p <DIR> 512 .
06/03/04 03:31p <DIR> 512 ..
06/03/04 03:35p 421,590 HPUX.EFI
06/03/04 03:35p 24,576 NBP.EFI
06/03/04 03:35p 12 AUTO
3 File(s) 446,196 bytes
2 Dir(s)
fs0:\EFI\HPUX>
b. You can display the current contents of the AUTO file using the cat command:
fs0:\EFI\HPUX> cat AUTO
FILE: fs0:\EFI\HPUX\AUTO, Size 12
boot vmunix
fs0:\EFI\HPUX>
4. To change the contents of the AUTO file you can either use the edit command
to edit the file using the full-screen EFI editor, or use the echo command and
redirect its output to the AUTO file:
To use the edit command, enter edit AUTO and configure the AUTO file using
the full-screen editor.
To save changes to the file, depending on the system you have and whether
you are using a hardwired console or network-based access, press the “F2
key or type Esc 2 (press “Esc” then press “2”). Use the editors on-screen
prompts to determine which key sequence to use.
To exit the EFI editor press the “F3” key (or type Esc 3 depending on your
system as described in the previous paragraph).
To configure the AUTO file without using the full-screen editor, use the echo
command:
fs0:\EFI\HPUX> echo boot testvmunix > auto
The above command replaces the previous contents (if any) of the AUTO file with
the string “boot testvmunix”. Substitute the name of your kernel file for
testvmunix in the example.
50 Booting and Shutdown