▼
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 les to your PXE client.
Before you install a Oracle Enterprise Linux image on your PXE server, you must congure
your Linux network to support PXE images. See
“Overview of PXE Servers” on page 42.
The PXE installation procedure requires the following items:
■
A CD/DVD drive on the DHCP server.
■
Oracle Enterprise Linux media set. This can be a set of CDs or a DVD.
■
A copy of the Oracle Enterprise Linux les from the Tools and Drivers CD.
Set up the directory structure that will hold the Oracle Enterprise Linux software.
# mkdir -p /home/pxeboot/oel5/
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.
Copy the vmlinuz and initrd.img les 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/
Copy the kickstart le ks.cfg to your PXE server.Type:
# cp /tmp/oel5u4-pxefile/ks.cfg /home/pxeboot/oel5/
The kickstart conguration le contains a conguration that might not be optimal for your
operating environment. Modify the le 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 conguration le:
key --skip
BeforeYou Begin
1
2
3
4
Disabling the Firewall
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -1250