This procedure describes how to install the Oracle Linux
operating system from local or remote media. The procedure assumes that you are
booting the Oracle Linux installation media from one of the
following sources:
-
Ensure that the installation media is available to boot.
-
For Distribution DVD, insert
the Oracle Linux 6.7 distribution media boot disc
(DVD) into the local or remote DVD drive.
-
For ISO image, ensure
that the Oracle Linux 6.7 ISO image is available and
that the ISO image has been mounted in the Oracle ILOM Remote System
Console Plus application using the KVMS menu.
For additional information about how to set up the installation media, see
Selecting the Boot Media Option.
-
Reset or power on the server.
For example, to reset the server, do one of the following:
-
From the local server, press
the Power button on the front panel of the server (for approximately
1 second) to power off the server, then press the Power button again
to power on the server.
-
From the Oracle ILOM web
interface, click Host Management → Power Control
, select Reset from the Select Action list box, then click
Save.
-
From the Oracle ILOM CLI, type:
reset /System
The server begins the boot process and the BIOS screen appears.
Note -
The next event occurs very quickly; therefore, be ready to press the
F8 key. Watch carefully for messages as they appear on the screen for a
brief time. You might want to enlarge the size of your screen to
eliminate scroll bars.
-
In the BIOS screen, press the F8 key to specify a
temporary boot device for the Linux OS installation.
[Boot Pop Up Menu Selected] appears at the bottom of
the BIOS screen, and then the Please Select Boot Device menu appears. The
screen that appears will differ depending on whether you have the UEFI/BIOS
Boot Mode configured for Legacy BIOS or UEFI.
-
For Legacy BIOS Boot Mode, a screen similar to the following
appears:
-
For UEFI Boot Mode, a screen similar to the following
appears:
Note -
The Please Select Boot Device menu that appears in your installation
might differ depending on the type of disk controller and other
hardware, such as PCIe network cards, installed in your server.
-
In the Please Select Boot Device menu, select the menu item according to
the Linux OS media installation method and the BIOS mode you elected to use,
then press Enter.
For example:
-
To use the Oracle ILOM Remote System Console Plus application
delivery method in Legacy BIOS Boot Mode, select
USB:VIRTUAL:Remote Iso CDROM2.04 from the
Legacy BIOS screen.
-
To use the Oracle ILOM Remote System Console Plus application
delivery method in UEFI Boot Mode, select
[UEFI]USB:VIRTUAL:Remote Iso CDROM2.04 from
the UEFI screen.
-
The next screen displayed by the installation program depends on whether
you selected the Legacy BIOS Boot Mode or the UEFI Boot Mode.
-
If you selected Legacy BIOS Boot Mode, the Welcome to Oracle Linux
Server boot screen appears. For example, for Oracle Linux
6.7:
-
If you selected UEFI Boot Mode, the Booting Oracle Linux Server
boot screen appears. For example, for Oracle Linux 6.7:
-
For the purposes of this installation, do one of the following:
-
To do the installation in Legacy BIOS Boot Mode, accept the
default and press Enter.
-
To do the installation in UEFI Boot Mode, press Enter or allow the
screen to timeout.
The Disc Found screen appears.
-
If this is the first time that you are doing an install from this media,
you should consider selecting OK to test the media;
otherwise, select Skip and press Enter.
The Oracle Linux 6 splash screen appears.
-
Scroll to the bottom of the Oracle Linux 6 splash screen and
click Next.
The "What language would you like to use during the installation process?"
screen appears.
-
Select the appropriate language and click Next.
The "Select the appropriate keyboard for the system" screen
appears.
-
Select the appropriate keyboard configuration and click
Next.
The "What type of devices will your installation involve?" screen
appears.
-
In the above screen, select Specialized Storage Devices, then scroll to
the bottom of the screen, and click Next.
Note -
Selecting Specialized Storage Devices enables you to deselect the
Oracle SSM in the following screen. This makes the rest of this manual
installation easier.
The "Please select the drive you'd like to install the operating system
on" screen appears.
-
Select the storage drive on to which you want to install the operating
system, scroll to the bottom of the screen, and click
Next.
The "Please name this computer" screen appears.
-
Enter the host name and click Next.
The Select Time Zone screen appears.
-
Select the appropriate region and city and click
Next.
Note -
If you want NTP Service, you can set that up after the operating
system is installed.
The Root Password screen appears.
-
Enter the root password, and click Next.
The "What type of installation would you like?" screen appears.
-
In the above screen, select the appropriate option, and click
Next.
For example, if the storage drive on which you are installing operating
system is blank and you select Create Custom Layout, the "Please Select a
Device" screen appears.
-
To create partitions, do the following:
-
Scroll to the bottom of the screen and click Create.
The Create Storage dialog appears.
-
Select Standard Partition, and click Create.
The Add Partition dialog appears.
-
In the dialog, set the Mount point to /boot and
leave the File System Type set to ext4 and the
Size (MB) set to 200.
Here is the updated Add Partition dialog.
-
Click OK.
The partition is created.
-
Repeat Step a through Step d above to create the following
additional partitions:
|
|
|
/boot/efi
Note -
This partition can only be created if you
selected the UEFI Boot Mode. It is not supported
in Legacy BIOS Boot Mode.
|
EFI System Partition
|
200
|
/
|
ext4
|
20000
|
None
|
swap
|
16384
|
|
The updated partitions screen appears.
-
Click Next to apply the partitions.
The following dialog appears.
-
Click Write changes to disk.
If there are no disk partitioning errors, the install boot loader screen
appears and you should proceed to Step 21. If
there are disk partitioning errors, proceed to Step 20.
-
If there is a problem with the data format on the installation target
disk, the Automatic Partitioning Errors screen appears.
Note -
The following screen appears if you are installing the operating
system in UEFI Boot Mode, in which case GUID Partition Table (GPT)
formatted disks are required. If you encounter disk formatting errors
when you install the operating system in Legacy BIOS Boot Mode, a
similar screen would be displayed indicating that the Master Boot Record
(MBR) formatted disks are required.
If the above screens appears, the disk to which you are attempting to
install Oracle Linux is formatted incorrectly and it needs to be
reformatted.
Note -
This error occurs if you attempt to do a UEFI Boot Mode OS install to
a storage drive that was previously used to store data in Legacy BIOS
format or vice versa. UEFI uses the GPT format, while Legacy BIOS
formats storage drives in the MBR format. The storage drives that ship
with the server are new, so they are unformatted. You will not encounter
this error when installing to an unformatted disk.
To recover and reformat the disk without aborting the install, click the
keyboard Back button on the install screen several times to return to the
initial Oracle Linux splash screen shown in Step 7 and perform these steps:
-
To start the recovery shell, type
Ctrl+Alt+F2.
The shell appears.
-
To reformat the disk in GPT format or MBR format as appropriate
for this installation, enter the shell commands as shown on the
following screen:
anaconda root@localhost /]# parted /dev/sda
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type ???help' to view a list of commands.
(parted) p
Model: HITACHI H101860SFSUN600G (scsi)
Disk /dev/sda: 600GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos (or gpt for Legacy BIOS Boot Mode)
Number Start End Size Type File system Flags
1 1049kB 21.5GB 21.5GB primary ext2
(parted) mklabel
New disk label type? gpt (or msdos for Legacy BIOS Boot Mode)
Warning: The existing disk label on /dev/sda will be destroyed and all data will be lost.
Do you want to continue?
Yes/No? yes
(parted) p
Model: HITACHI H101860SFSUN600G (scsi)
Disk /dev/sda: 600GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
(parted) g
Information: You may need to update /etc/fstab.
anaconda root@localhost /]#
-
Type Ctrl+Alt+F6 to return to the graphical
installation screen and continue the installation from the point of
the Oracle Linux splash screen (go to Step 7).
Note -
In most cases the values that you entered for this
installation have been saved, so you do not have to reenter
them.
-
In the install boot loader screen, select Install boot loader on
/dev/sda1, and click Next.
The "Select server software to install" screen appears.
While Basic Server is the default server software install, you can
optionally select a different set of software. Additionally, at the bottom
of this screen you can select Customize Now to do a custom install of the
selected software.
-
For the purposes of this sample installation, accept the Basic Server
default option and click Next.
The Starting Installation Process screen appears.
-
Wait until the Oracle Linux OS installation completes.
When the installation completes, the following screen appears.
-
To reboot the Oracle Linux installation, click
Reboot.
The server reboots and the BIOS screen appears.
-
To access the BIOS Setup Utility so that you can set the server to boot
from the operating system you just installed, press the F2 key.
The BIOS Setup Utility screen appears with the Boot menu selected. The
BIOS screen displayed and the actions required to proceed with installation
depend on the UEFI/BIOS Boot Mode you selected for installing the OS.
-
If you installed the OS in Legacy BIOS Boot Mode, proceed to
Step 26.
-
If you installed the OS in UEFI Boot Mode, proceed to Step 27.
-
If you installed the OS in Legacy BIOS Boot Mode, perform these steps and
then proceed to Step 28.
-
In the BIOS Setup Utility screen shown below, use the down arrow
key to select [USB:VIRTUAL:Remote Iso CDROM2.05] under the Legacy
Boot Option Priority field, and press Enter.
Note -
The BIOS Boot screen that appears for your installation might
differ depending on the type of disk controller and other
hardware, such as PCIe network cards, installed in your
server.
The Boot Option #1 dialog appears.
-
Select [SAS:PCIE6:E02S0C-2F0247C9 HITACHI H101860SFSUN60], and
press Enter.
[SAS:PCIE6:E02S0C-2F0247C9 H101860SFSUN60] moves to the top
position.
-
Press the F10 key to save the change and exit the BIOS Setup
Utility, then proceed to Step 28.
-
If you installed the OS in UEFI Boot Mode, perform these steps:
-
In the BIOS Setup Utility screen shown below, verify that the
boot entry name you created (in this case, [Oracle Linux]) is listed
as the first option under UEFI Boot Option Priority field.
Note -
The BIOS Boot screen that appears for your installation might
differ depending on the type of disk controller and other
hardware, such as PCIe network cards, installed in your
server.
-
Press the F10 key to exit the BIOS Setup Utility.
-
At first reboot after installing Oracle Enterprise Linux 6.7, press any
key to enter the menu.
The GNU GRUB screen appears.
-
Choose Oracle Linux Server Red Hat Compatible Kernel
(2.6.32-573.el6.x86_64)
-
Log in to Linux and make sure the Linux internet connection is
active.
-
Confirm that the UEK entry appears in the
/etc/yum.repos.d/local.repo
-
Run yum update kernel-uek or yum
update
The update screen appears:
-
When the update is complete, reboot the server with the
reboot command.
The server starts the new Oracle Unbreakable Enterprise Kernel.