JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems
search filter icon
search icon

Document Information

Preface

Related Books

About This Documentation (PDF and HTML)

Documentation Comments

Download Server System Tools and Drivers

Documents History

Introduction to Linux Installation

Supported Operating Systems

Sun Installation Assistant (SIA)

Preliminary Tasks Before Installing an OS

Accessing the Console During Installation

How to Configure the Serial Port

How to Erase Your Boot Hard Disk

Installing Oracle Enterprise Linux

Installing OEL from Distribution Media

Updating OEL

Installing SUSE Linux Enterprise Server

Installing SLES10 or SLES11 From Distribution Media

Installing SLES10 Using Local or Remote Media

Installing SLES10 or SLES 11 Using a PXE Network Environment

How to Install SLES10 or SLES11 Using Network PXE Boot

Post SLES Installation Tasks

How to Update the SLES Operating System

Installing System Device Drivers to Support Additional Hardware

How to Install System Device Drivers Using Local or Remote Media

How to Install the System Device Drivers Using a Network Share or USB Device

Installing Red Hat Enterprise Linux

Overview of Red Hat Enterprise Linux Installation

Installing RHEL From Distribution Media

Updating RHEL

Booting From OS Distribution Media

How to Boot From OS Media Locally

How to Boot From OS Distribution Media or ISO File Remotely

Configuring a Linux Server to Support PXE Installation

Overview of PXE Servers

How to Install and Configure a DHCP Server

How to Install Portmap on Your DHCP Server

How to Configure the TFTP Service on Your DHCP Server

How to Install and Configure the neopxe Boot Server Daemon

How to Configure the NFS Service on Your PXE Server

Disabling the Firewall

How to Disable the Firewall for SUSE Linux

How to Disable the Firewall for Red Hat Linux

How to Create a PXE Installation Image for Oracle Enterprise Linux

How to Create a PXE Installation Image for Red Hat Linux

Creating a PXE Image for SUSE Linux

How to Set Up and Copy SUSE Software to a Directory

How to Set Up SUSE PXE Files

How to Install Linux From a PXE Server

Identifying Logical and Physical Network Interface Names for Linux OS Configuration

SUSE Linux - How to Identify Logical and Physical Network Interface Names While Installing the OS

RHEL - How to Identify Logical and Physical Network Interface Names While Installing the OS

Index

How to Create a PXE Installation Image for Oracle Enterprise Linux

When you create a Oracle Linux Preboot Execution Environment (PXE) installation image on the same server that is your DHCP server, it will also act as your PXE server. The PXE server provides the operating system files to your PXE client.

Before you install a Oracle Enterprise Linux image on your PXE server, you must configure your Linux network to support PXE images. See Overview of PXE Servers.

Before You Begin

The PXE installation procedure requires the following items:

  1. Set up the directory structure that will hold the Oracle Enterprise Linux software.
    # mkdir -p /home/pxeboot/oel5/
  2. For each Oracle Enterprise Linux Distribution CD, type the following commands to copy the contents of the each distribution CD to the appropriate PXE target subdirectory.

    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/
    # umount /mnt/cdrom

    If you are installing from a DVD, you have to do this only once. When the copy is done, proceed to the next step.

  3. Copy the vmlinuz and initrd.img files to the appropriate PXE target subdirectory (/home/pxeboot/oel5/).
    # cp /home/pxeboot/oel5/images/pxeboot/vmlinuz /home/pxeboot/oel5/
    # cp /home/pxeboot/oel5/images/pxeboot/initrd.img /home/pxeboot/oel5/
  4. Copy the kickstart file ks.cfg to your PXE server. Type:
    # cp /tmp/oel5u4-pxefile/ks.cfg /home/pxeboot/oel5/

    The kickstart configuration file contains a configuration that might not be optimal for your operating environment. Modify the file as necessary to suit your environment.

    For example, to make the OEL 5.4 installation process fully automatic, add the following line to the end of the kickstart configuration file:

    key --skip
  5. On your PXE server, edit and save the kickstart file: /home/pxeboot/oel5/ks.cfg.

    Edit the nfs line is as follows:

    nfs --server n.n.n.n --dir /home/pxeboot/oel5/

    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.

  6. Add the following entry to the file /home/pxeboot/pxelinux.cfg/default:

    Note - Type the text block from append through ks.cfg as one continuous string with no returns.


    default oel5
    label oel5kernel 
    oel5/vmlinuz
    append ksdevice=eth0 console=tty0 load_ramdisk=1
    initrd=oel5/initrd.img network
    ks=nfs:n.n.n.n:/home/pxeboot/oel5/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.


  7. Save the modified version of the /home/pxeboot/pxelinux.cfg/default file.

Next Steps

How to Install Linux From a PXE Server