Introduction to Linux Installation
Oracle Hardware Installation Assistant
Oracle Hardware Installation Assistant Task Overview
Obtaining Oracle Hardware Installation Assistant
Preliminary Tasks Before Installing An OS
How to Erase Your Boot Hard Disk
Selecting a Media Delivery Method
Local Installation By Accessing the Console Using the Serial or Video Port
How to Configure the Serial Port
Remote Installation By Accessing the Console Using ILOM
How to Access the Server Console Using the Server's ILOM Web Interface
How to Access the Server Console Using the Server's ILOM CLI Interface
Installing Oracle Linux from Distribution Media
How to Download Oracle Linux Media
How to Install Oracle Linux From Distribution Media
How to Update the Oracle Linux Operating System
Installing Red Hat Enterprise Linux
Installing RHEL From Distribution Media
How to Download RHEL Media Kits
How to Install RHEL From Distribution Media
How to Update the RHEL Operating System
How to Update the RHEL Drivers
Installing SUSE Linux Enterprise Server
Installing SLES From Distribution Media
How to Download SLES Media Kits
How to Install SLES From Distribution Media
How to Update the SLES Operating System
How to Update the SLES Drivers
Configuring a Linux Server to Support PXE Installation
How to Install and Configure a DHCP Server for PXE
How to Install Portmap on Your PXE Server
How to Configure the TFTP Service on Your PXE Server
How to Configure PXELINUX on Your PXE Server
How to Configure the NFS Service on Your PXE Server
How to Disable the Firewall for SUSE Linux
How to Disable the Firewall for Oracle or Red Hat Enterprise Linux
How to Create a PXE Installation Image for RHEL
How to Create a PXE Installation Image for SLES
How to Create a PXE Installation Image for Oracle VM
How to Install Linux From a PXE Server
Identifying Logical and Physical Network Interface Names for Linux OS Configuration
How to Identify Installed Network Ports
How to Identify Logical and Physical Network Interface Names While Installing Oracle Linux or RHEL
How to Identify Logical and Physical Network Interface Names While Installing SLES
This procedure creates a supported Oracle Linux OS installation image on the PXE server. The PXE server allows the target server to do a network boot and install the operating system files over the network.
Before You Begin
The PXE installation procedure requires the following items:
You must have already completed the network infrastructure setup to support PXE. See Configuring a Linux Server to Support PXE Installation.
A CD/DVD drive accessible to the PXE Server.
Oracle Linux 5.5 distribution media set. This can be a set of CDs or a DVD.
# mkdir -p /home/pxeboot/oel5.5as_64/
Note - The examples in this procedure use Oracle Linux 5.5 and the image source directory /home/pxeboot/oel5.5as64 as an example. You can also choose to use a different source directory structure.
Note - Eject and insert CDs only when the CD/DVD drive is unmounted.
# mount dev/cdrom /mnt/cdrom
# cp -r /mnt/cdrom/* /home/pxeboot/oel5.5as_64/
# umount /mnt/cdrom
If you are installing from a DVD, you only have to do this once. When the copy is done, proceed to the next step.
# cp /home/pxeboot/oel5.5as_64/images/pxeboot/vmlinuz /home/pxeboot/oel5.5as_64
# cp /home/pxeboot/oel5.5as_64/images/pxeboot/initrd.img /home/pxeboot/oel5.5as_64
/home/pxeboot/oel5.5as_64/ks.cfg
If you are creating a Oracle Linux image, for example, copy and insert the following content:
lang en_US keyboard us timezone --utc America/Los_Angeles rootpw xxxx reboot bootloader --location=mbr install nfs --server n.n.n.n --dir /home/pxeboot/oel5.4as_64 clearpart --all part /boot --fstype ext3 --size 512 --ondisk sda part swap --size 65536 --ondisk sda part / --fstype ext3 --size 1 --grow --ondisk sda network --bootproto dhcp auth --useshadow --enablemd5 firewall --disabled #Do not configure the X Window System skipx text %packages @Everything %pre %post --nochroot
where n.n.n.n is the IP address of your PXE server. Ensure that the location indicated after --dir is pointing to the top level of your image.
This file defines the menu shown to the target host during network boot. The following is an example of what should be in the file for a Oracle Linux 5.5 menu label:
Note - Type the text block from append through ks.cfg as one continuous string with no returns.
default oel5.5as_64 label oel5.5as_64 kernel oel5.5as_64/vmlinuz append ksdevice=eth0 console=tty0 load_ramdisk=1 initrd=oel5.5as_64/initrd.img network ks=nfs:n.n.n.n :/home/pxeboot/oel5.5as_64/ks.cfg
where n.n.n.n is the IP address of your PXE server.
Note - For console-based installations, add console=ttyS0,9600 to the append line.
/home/pxeboot/pxelinux.cfg/default