Installation guide
options appears. Move the Red Hat En t erp rise Lin u x 5 menu item up to the top of the list
by selecting it with the arrow keys and pressing the u key to move it up the list. You can move
items down the list by selecting it and pressing the d key. After changing the boot order,
choose Save ch an g es t o NVRAM. Choose Exit to return to the Main Menu.
9. Optionally, you can change the boot timeout value by choosing Set Au t o Bo o t T imeO u t
=> Set T imeo u t Valu e from the Main Menu.
10. Return to the EFI Bo o t Man ag er by selecting Exit .
4.28 .2 .1. Using a St art up Script
It is recommended that you configure the ELILO Boot Manager to boot Red Hat Enterprise 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 (refer to Section 4.28.1, “Post-Installation Boot Loader
Options” ) add them after elilo.
You can either create this file after booting into Red Hat Enterprise 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 detects the startup.nsh file and use it to boot the system. To
stop EFI from loading the file, type Ctrl+c . This aborts the process, and returns you to the EFI shell
prompt.
[2] T he fsck ap p licatio n is used to chec k the file s ys tem fo r metad ata co nsistency and o p tio nally rep air
o ne o r mo re Linux file sys tems.
[3] A ro o t p as swo rd is the ad minis trative p as swo rd fo r yo ur Red Hat Enterp ris e Linux system. Yo u
sho uld o nly lo g in as ro o t when need ed fo r s ystem maintenanc e. The ro o t acc o unt d o es no t o p erate
within the restrictio ns p laced o n no rmal user ac co unts, so chang es mad e as ro o t can have imp lic atio ns
fo r yo ur entire sys tem.
Chapt er 4 . Inst alling on Int el® and AMD Syst ems
67