Creating a pxe install image on the pxe server – Sun Microsystems Sun Fire V40z User Manual
Page 14

8
Sun Fire V20z and Sun Fire V40z Servers Linux Operating System Installation Guide • May, 2004
Creating a PXE Install Image on the PXE Server
This procedure describes how to create a PXE install image on the same server that
is your DHCP server, so that it will also act as your PXE server. The PXE server
provides the operating system files to your PXE client.
Note –
For 32-bit users:
The extracted directories described in the following
procedure are for setting up a 64-bit network image. If you are setting up a 32-bit
network image, some files and directories are slightly different.
For 64-bit, the extracted directory is:
rhel3_64-pxefiles/
For 32-bit, the extracted directory is:
rhel3_32-pxefiles/
All other directories and directions are the same for both 64-bit and 32-bit.
Note –
Before you start this procedure, verify that your network has been
configured as described in “Preconfiguring Your Network to Support PXE
Installation” on page 41.
1. Insert Red Hat Enterprise Linux 3 CD 1 into your DHCP/PXE server and copy its
contents to your PXE server, by typing the commands listed below:
You can use a different target directory than the
/home/pxeboot/SunFire_rhel3/
directory shown below. The examples in this
procedure use this directory.
# mkdir -p /home/pxeboot/SunFire_rhel3/
# mount /dev/cdrom /mnt/cdrom
# cp -a /mnt/cdrom/RedHat /home/pxeboot/SunFire_rhel3/
2. Copy the initial ramdisk and kernel from CD 1 into the base of the PXE image
with the following commands:
# cp /mnt/cdrom/images/pxeboot/initrd.img \
/home/pxeboot/SunFire_rhel3/
# cp /mnt/cdrom/images/pxeboot/vmlinuz \
/home/pxeboot/SunFire_rhel3/
3. Remove CD 1 from the server after you type the following command:
#
umount /dev/cdrom