EFI Boot Menu
EFI Boot Menu
Q: I need to customize the EFI boot menu on my Itanium systems so it is easier to understand..
A: The typical entries in the EFI menu can be a bit cryptic and non-descript. Also, the setboot command will add
primary, alternate and HA alternate entries but it can be a challenge to determine the actual hardware path.
(Skip this section if your EFI menu has the EFI Shell available)
To create a Primary boot path, select the EFI Shell from the main menu. The EFI code searches for devices and will
display a list of those paths that could be used.
NOTE: If no fs0, fs1, etc devices are shown, you’ll need to use the map and reconnect commands (and possibly other
steps, especially for SAN-based devices) to see the filesystems):
For HP-UX, each filesystem will be labeled fs# where the # starts at 0 and increments. The boot devices will have Part1
listed in the Acpi address.
From the ioscan –kfeC disk command (in HP-UX), pick the fs# for your primary disk by just typing the ID and a
colon, as in fs0:
The fs0:\> prompt is the top of the EFI partition’s filesystem, so you can list the directory with dir:
The location of the EFI boot file for HP-UX is: \efi\hpux
Note that the EFI shell requires DOS-like backslashes (\) for directory separation.
Also, UPPERCASE and lowercase are treated the same in EFI.
Type: cd \efi\hpux and then dir to see the directory contents:
To create a new boot menu choice, use the command bcfg (Boot ConFiG) like this:
Type exit and you’ll see that the hpux.efi file has been added as the first position of the EFI Boot menu:
You can repeat the steps again to add another boot path for fs2: (or other filesystems).
The arrangement of the various boot paths can be adjusted with the Boot Configuration item, as well as removing
Customize boot device – LAN boot
To illustrate a simple lanboot setup, first make a dbprofile for the Ignite server using the EFI shell. You’ll need the
network IP addresses for the server, the netmask, gateway, the client address (or DHCP if setup correctly). Type the
command: dbprofile at the EFI shell prompt. There may an existing dbprofile, but it may not be correct. You can
remove obsolete entries with the dbprofile rm command. Then create a dbprofile like this (use help dbprofile
for details, -dn <name> is whatever ID you want to use):
This will display a set of boot items including the LAN port(s). Select the correct NIC card and press Enter.
You can test the lanboot without actually restoring anything to the disk. When the loader pauses to ask about the version
of HP-UX, it will also have a return back to the EFI shell prompt:
Now you have a customized boot item for booting from the Ignite/UX server.