A SERVICE OF

logo

66 Chapter 3:Installing Red Hat Linux
by selecting it and pressing the [d] key. After changing the boot order, choose Save changes to
NVRAM
. Choose Exit to return to the Main Menu.
9. Optionally, you can change to boot timeout value by choosing
Set Auto Boot TimeOut
=> Set
Timeout Value
from the Main Menu.
10. Return to the EFI Boot Manager by selecting
Exit.
Using a Startup Script
It is recommended that you configure the ELILO Boot Manager to boot Red Hat Linux 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 partition (/boot/efi/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 Section 3.25.1, Post-Installation Boot Loader Op-
tions) add them after elilo.
You can either create this file after booting into Red Hat Linux 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). 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. Then 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.