JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Fire X4800 Server Product Documentation
search filter icon
search icon

Document Information

Using This Documentation

Hardware Installation

Operating System Installation

Linux

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

Creating a Virtual Disk

How to Create a Virtual Disk

How to Set the Boot Drive

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

Installing Oracle Linux from Distribution Media

How to Download Oracle Linux Media

How to Install Oracle Linux From Distribution Media

Updating Oracle Linux

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

Updating RHEL

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

Updating SLES

How to Update the SLES Operating System

How to Update the SLES Drivers

Configuring a Linux Server to Support PXE Installation

Overview of PXE

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

Disabling the Firewall

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 Oracle 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

Administration, Diagnostics, and Service

Index

How to Create a PXE Installation Image for Oracle VM

At the release of this document, Oracle VM 2.2.1 is the minimum supported version of Oracle VM. These instructions are for creating a PXE installation image of Oracle VM Server.

Before You Begin

The PXE installation procedure requires the following items:

  1. Set up the directory structure that will hold the Oracle VM Server software.
    # mkdir -p /home/pxeboot/ovm_svr_2.2/
  2. Enter the following commands to copy the contents of each OVM distribution CD to the appropriate PXE 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/ovm_svr_2.2/
    # 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.

  3. Copy the vmlinuz and initrd.img files to the appropriate PXE target subdirectory:

    # cp /home/pxeboot/ovm_svr_2.2/images/pxeboot/vmlinuz /home/pxeboot/ovm_svr_2.2

    # cp /home/pxeboot/ovm_svr_2.2/images/pxeboot/initrd.img /home/pxeboot/ovm_svr_2.2

  4. Using a text editor, create a kickstart file (ks.cfg) in the following location on your PXE server:

    /home/pxeboot/ovm_svr_2.2/ks.cfg

  5. Add the necessary kickstart commands.

    If you know the required commands, type them in. Or, you can copy and insert the following content:

    lang en_US
    #langsupport en_US
    keyboard us
    #mouse genericusb
    timezone --utc America/Los_Angeles
    rootpw xxxx
    reboot
    bootloader --location=mbr
    install
    nfs --server n.n.n.n --dir /home/pxeboot/ovm_svr_2.2
    clearpart --all
    part /boot --fstype ext3 --size 512 --ondisk sda
    part  swap --size 4096 --ondisk sda
    part / --fstype ext3 --size 1 --grow --ondisk sda
    network --bootproto dhcp
    # password : abc123
    ovsagent --iscrypted Y2fEjdGT1W6nsLqtJbGUVeUp9e4=
    #ovsmgmntif eth0
    auth  --useshadow  --enablemd5
    firewall --disabled
    #Do not configure the X Window System
    skipx
    text
    
    %packages
    @Everything
    
    %pre
    
    %post --nochroot
    
    %post

    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. Save the kickstart file.
  7. Using a text editor, create the PXE configuration file (to be named default). This file defines the menu shown to the target system during network boot.

    The following shows two examples labels for an Oracle VM menu:


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


    label ovm_svr_2.2 sda eth select
    kernel ovm_svr_2.2/images/pxeboot/vmlinuz
    append initrd=ovm_svr_2.2/images/pxeboot/initrd.img load_ramdisk=1 network 
    ks=nfs:n.n.n.n:/home/pxeboot/ovm_svr_2.2/ks.cfg mem=32g
    
    label ovm_svr_2.2 sda eth select serial console
    kernel ovm_svr_2.2/images/pxeboot/vmlinuz
    append initrd=ovm_svr_2.2/images/pxeboot/initrd.img load_ramdisk=1 network 
    ks=nfs:n.n.n.n:/home/pxeboot/ovm_svr_2.2/ks.cfg mem=32g 
    console=ttyS0,115200

    where n.n.n.n is the IP address of your PXE server.

  8. Save the file as default in the following location on the PXE server:

    /home/pxeboot/pxelinux.cfg/default