HP Integrity rx2620 Installation Guide, Third Edition - HP Integrity rx2620 (A - Page 96

Adding Linux to the Boot Options List

Page 96 highlights

Booting the Operating System Booting and Shutting Down Linux Adding Linux to the Boot Options List This section describes how to add a Linux entry to the system boot options list. The processes for adding both Red Hat Enterprise Linux and SuSE Linux Enterprise Servers are given here. You can add the \EFI\redhat\elilo.efi loader or the \efi\SuSE\elilo.efi loader to the boot options list from the EFI Shell or EFI Boot Configuration menu (or in some versions of EFI, the Boot Option Maintenance Menu). NOTE On HP Integrity servers, the operating system installer automatically adds an entry to the boot options list. Step 1. Access the EFI Shell environment. Log in to the iLO MP and enter CO to access the system console. When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI menu). If you are at another EFI menu, choose the Exit option from the submenus until you return to the screen with the EFI Boot Manager heading. From the EFI Boot Manager menu, choose the EFI Shell menu option to access the EFI Shell environment. Step 2. Access the EFI System Partition (fsX: where X is the file system number) for the device from which you want to boot Linux. For example, enter fs2: to access the EFI System Partition for the bootable file system number 2. The EFI Shell prompt changes to reflect the file system currently accessed. The full path for the Red Hat Enterprise Linux loader is \EFI\redhat\elilo.efi and it should be on the device you are accessing. The full path for the SuSE Linux Enterprise Server loader is \efi\SuSE\elilo.efi and it should be on the device you are accessing. Step 3. At the EFI Shell environment, use the bcfg command to manage the boot options list. The bcfg command includes the following options for managing the boot options list: • bcfg boot dump - Displays all items in the boot options list for the system. • bcfg boot rm # - Removes the item number specified by # from the boot options list. • bcfg boot mv #a #b - Moves the item number specified by #a to the position specified by #b in the boot options list. • bcfg boot add # file.efi "Description" - Adds a new boot option to the position in the boot options list specified by #. The new boot option references file.efi and is listed with the title specified by Description. For example, bcfg boot add 1 \EFI\redhat\elilo.efi "Red Hat Enterprise Linux" adds a Red Hat Enterprise Linux item as the first entry in the boot options list. Likewise, bcfg boot add 1 \efi\SuSE\elilo.efi "SLES 10" adds a SuSE Linux item as the first entry in the boot options list. Refer to the help bcfg command for details. 96 Chapter 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

Booting the Operating System
Booting and Shutting Down Linux
Chapter 9
96
Adding Linux to the Boot Options List
This section describes how to add a Linux entry to the system boot options list. The processes for adding both
Red Hat Enterprise Linux and SuSE Linux Enterprise Servers are given here.
You can add the
\EFI\redhat\elilo.efi
loader or the
\efi\SuSE\elilo.efi
loader to the boot options list
from the EFI Shell or EFI Boot Configuration menu (or in some versions of EFI, the Boot Option Maintenance
Menu).
NOTE
On HP Integrity servers, the operating system installer automatically adds an entry to the boot
options list.
Step 1.
Access the EFI Shell environment.
Log in to the iLO MP and enter
CO
to access the system console.
When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI
menu). If you are at another EFI menu, choose the
Exit
option from the submenus until you return
to the screen with the
EFI Boot Manager
heading.
From the EFI Boot Manager menu, choose the
EFI Shell
menu option to access the EFI Shell
environment.
Step 2.
Access the EFI System Partition (
fs
X
:
where
X
is the file system number) for the device from which
you want to boot Linux.
For example, enter
fs2:
to access the EFI System Partition for the bootable file system number
2
.
The EFI Shell prompt changes to reflect the file system currently accessed.
The full path for the Red Hat Enterprise Linux loader is
\EFI\redhat\elilo.efi
and it should be
on the device you are accessing.
The full path for the SuSE Linux Enterprise Server loader is
\efi\SuSE\elilo.efi
and it should
be on the device you are accessing.
Step 3.
At the EFI Shell environment, use the
bcfg
command to manage the boot options list.
The
bcfg
command includes the following options for managing the boot options list:
bcfg boot dump
— Displays all items in the boot options list for the system.
bcfg boot rm
#
— Removes the item number specified by
#
from the boot options list.
bcfg boot mv
#a
#b
— Moves the item number specified by
#a
to the position specified by
#b
in the boot options list.
bcfg boot add
#
file.efi
"
Description
"
— Adds a new boot option to the position in the
boot options list specified by
#
. The new boot option references
file.efi
and is listed with the
title specified by
Description
.
For example,
bcfg boot add 1 \EFI\redhat\elilo.efi "Red Hat Enterprise Linux"
adds a Red Hat Enterprise Linux item as the first entry in the boot options list.
Likewise,
bcfg boot add 1 \efi\SuSE\elilo.efi "SLES 10"
adds a SuSE Linux item as
the first entry in the boot options list.
Refer to the
help bcfg
command for details.