Specifying The Kernel; Post-Installation Boot Loader Options; Using A Startup Script - Red Hat LINUX ADVANCED SERVER 2.1 Manual

Hide thumbs Also See for LINUX ADVANCED SERVER 2.1:
Table of Contents

Advertisement

54

3.29.1. 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
figuration 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
for the uni-processor kernel:
linux-up
Shell
elilo linux-up
¥
If
you
do
not
/boot/efi/EFI/redhat/elilo.conf
1. At the
Shell
¥
Linux). For example, if
2. Type
at the
ls
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 be-
ginning with
label
after
to boot the different kernels.
elilo

3.29.2. 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 Server 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):
elilo linux option
Shell
¥

3.29.3. Using a Startup Script

It is recommended that you use the preconfigured EFI Boot Manager entry to boot Red Hat Linux
Advanced Server automatically. However, if you require additional commands to be executed before
starting the ELILO boot loader, you can create a startup script named
mand should be
elilo
The
startup.nsh
(
/boot/efi/EFI/redhat/startup.nsh
echo -off
your set of commands
elilo
If you want to pass options to the boot loader (see Section 3.29.2) add them after elilo.
You can either create this file after booting into Red Hat Linux Advanced Server or use the editor built
into the EFI shell. To use the EFI shell, at the
, the default kernel listed in the
know
the
names
prompt, change devices to the system partition (mounted as
is the system boot partition, type fs0: at the EFI Shell prompt.
fs0
to make sure you are in the correct partition.
fs0:\>
followed by a label name for that kernel. The label name is what you type
to boot into Linux.
script
should
Chapter 3. Installing Red Hat Linux Advanced Server
/boot/efi/EFI/redhat/elilo.conf
after
. For example, to load the kernel named
elilo
of
the
installed
file in EFI with the following instructions:
be
in
the
/boot/efi/EFI/redhat/
) and contain the following text:
prompt, change devices to the system partition
Shell>
kernels,
you
can
/boot/efi
. The last com-
startup.nsh
con-
view
the
in
partition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ADVANCED SERVER 2.1 and is the answer not in the manual?

Questions and answers

Table of Contents