Booting Your Machine and Post-Installation Setup

This section describes how to boot your Itanium into Red Hat Linux Advanced Workstation.

After you reboot your system at the end of the installation program, an entry named Red Hat Linux Advanced Workstation is added to the EFI Boot Manager list and changed to the default. Select it and press [Enter] to boot into Red Hat Linux Advanced Workstation. You can also wait for it to timeout and boot the default entry.

TipTip
 

Refer to /usr/share/doc/elilo-<version>/efibootmgr-doc for details on how to modify the EFI Boot Manager entries.

Specifying the Kernel

If you need to boot a kernel that is not the default, select EFI Shell from the EFI Boot Manager list.

If you just type elilo, the default kernel listed in the /boot/efi/EFI/redhat/elilo.conf configuration file is loaded. (The first kernel listed in the file is the default.)

If you want to load a different kernel, type the label name of the kernel from the file /boot/efi/EFI/redhat/elilo.conf after elilo. For example, to load the kernel named linux-up for the uni-processor kernel:

Shell>elilo linux-up

If you do not know the names of the installed kernels, you can view the /boot/efi/EFI/redhat/elilo.conf file in EFI with the following instructions:

  1. At the Shell> prompt, change devices to the system partition (mounted as /boot/efi in Linux). For example, if fs0 is the system boot partition, type fs0: at the EFI Shell prompt.

  2. Type ls at the fs0:\> to make sure you are in the correct partition.

  3. Change to the directory that contains the elilo configuration file:

    Shell>cd EFI/redhat
  4. Then type:

    Shell>type elilo.conf

    This command displays the contents of the configuration file. Each stanza contains a line beginning with label followed by a label name for that kernel. The label name is what you type after elilo to boot the different kernels.

Post-Installation Boot Loader Options

In addition to specifying a kernel to load, you can also enter other boot options such as single for single user mode or mem=1024M to force Red Hat Linux Advanced Workstation to see 1024 MB of memory. To pass options to the boot loader, enter the following at the EFI Shell prompt (replace linux with the label name of the kernel you want to boot and option with the boot options you want to pass to the kernel):

Shell>elilo linux option

Using a Startup Script

It is recommended that you use the preconfigured EFI Boot Manager entry to boot Red Hat Linux Advanced Workstation automatically. However, if you require additional commands to be executed before starting the ELILO boot loader, you can create a startup script named startup.nsh. The last command should be elilo to boot into Linux.

The startup.nsh script should be in the /boot/efi/EFI/redhat/ partition (/boot/efi/EFI/redhat/startup.nsh) and contain the following text:

echo -off
your set of commands
elilo

If you want to pass options to the boot loader (see the Section called Post-Installation Boot Loader Options) add them after elilo.

You can either create this file after booting into Red Hat Linux Advanced Workstation or use the editor built into the EFI shell. To use the EFI shell, at the Shell> prompt, change devices to the system partition (mounted as /boot/efi in Linux) and change to the EFI/redhat directory. For example, if fs0 is the system boot partition, type fs0: at the EFI Shell prompt. Type ls to make sure you are in the correct partition, and then type cd EFI/redhat. Type edit startup.nsh. Type the contents of the file and save it.

The next time the system boots, EFI will detect the startup.nsh file and use it to boot the system. To stop EFI from loading the file, type [Ctrl]-[c]. This will abort the process, and you will return to the EFI shell prompt.