Cisco Server Provisioner 6.6 User's Guide ("Chuck Berry")

Prepare the Linux ISO media from the Command Line

Hide Navigation Pane

Prepare the Linux ISO media from the Command Line

Previous topic Next topic No expanding text in this topic  

Prepare the Linux ISO media from the Command Line

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Copying the .iso to /home/tftpboot/ISOs/linux/ and then using the script loadlinux.pl is by far the easiest way to get Linux ready for provisioning, as any supported version of Linux will be automatically placed exactly where it should be.

This section offers an alternate way of doing so using the command line only.

Open a terminal window and follow the process outlined below. The example provided is to copy a CentOS 5.2 i386 DVD.  Substitute the precise name of the CD or DVD you wish to upload to the Provisioner PXE Server.

Lines starting with “#” are comments (so do not execute these):

# mount the ISO (*.iso), in this case CentOS-5.4-i386-bin-DVD.iso, file into a     # temporary directory that you name:
mkdir -p /media/centos54dvdiso
mount -o loop -t iso9660 CentOS-5.4-i386-bin-DVD.iso /media/centos54dvdiso
 
# see the contents
ls -la /media/centos54dvdiso

 
# copy content  to /disc1 for RHEL, CentOS, Fedora, Asianux;

 
mkdir -p /home/tftpboot/pub/centos5_4_i386/disc1
cp -r /media/centos54dvdiso/* /home/tftpboot/pub/centos5_4_i386/disc1/

 
# clean up
umount /media/centos54dvdiso
rm -rf /media/centos54dvdiso

 

# Notes: do not omit the /disc1/ (for Red Hat-based Linux distributions)

# Use /CD1/ instead if you are uploading Novell SLES or OpenSUSE media

# If you are CDs, you will repeat the process for /disc2/ (or /CD2/), etc.