This procedure describes how to create RedHat Linux OS images by copying the files from the product media. You can locate these copies on a system that is running either the RedHat Linux OS or the Solaris OS. You can also place the physical product media in the CD-ROM drives of a system, and point to these CDs as the image source for your provisioning plans. You are not required to locate these copies on your RedHat Linux boot and install server.
If you locate these copies on a system that is not the boot and install server, the copies must meet the following criteria.
For RedHat Linux provisioning that uses JET, the boot and install server and target host must be able to access the copies through NFS.
For RedHat Linux provisioning that does not use JET, the target host must be able to access the copies through NFS.
Follow these steps to create copies of the RedHat Linux files.
Create a directory to contain the Linux files.
To serve multiple distributions from the same server, create a separate directory for each distribution.
Mount the first CD-ROM or ISO image file.
Use a command similar to one of the following examples:
#mount /dev/cdrom by default, will mount on /mnt/cdrom, check /etc/fstab #mount -o loop /path-to-first-iso /mnt/loop assumes /mnt/loop exists |
Copy the content from the CD-ROM or ISO image file to the directory that you created in Step 1.
Use a command similar to one of the following examples:
#/bin/cp -avf /mnt/cdrom/* /export/RHEL3.0 #/bin/cp -avf /mnt/loop/* /export/RHEL3.0 |
Repeat Steps 2 and 3 for all the CD-ROM or ISO media in the distribution.