To copy the RHEL v4 installation CDs to your NFS-exported (or FTP or HTTP) directory, for each CD,
Here is how I copied the 9 Red Hat Enterprise Linux AS v3 CDs, into AFS,
The key here, is to do the first CD, last. Why? Because the
RedHat/base/comps.xml file on the first CD, is correct while the other CDs
have wrong versions. This causes anaconda failures soon into the install.
Trust me. I've been there.
From a Linux system,
klog jasper
mkdir /afs/d/software/base/linux/Redhat.Enterprise.Linux.AS-3
cd /afs/d/software/base/linux/Redhat.Enterprise.Linux.AS-3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The commands for CD #8, their documentation CD, are
mount /mnt/cdrom
cp -a /mnt/cdrom/RH-DOCS .
cp -a /mnt/cdrom/RedHat .
cp -a /mnt/cdrom/SRPMS .
cp -a /mnt/cdrom/about.html .
cp -a /mnt/cdrom/css .
cp -a /mnt/cdrom/figs .
cp -a /mnt/cdrom/index* .
cp -a /mnt/cdrom/online-resources.html .
umount /mnt/cdrom
Then, the following link
ln -s ../software/base/linux/Redhat.Enterprise.Linux.AS-3 /afs/d/w3/linux
gets you a nice HTML based documentation reference at http://w3/linux
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Then in order(!!), for each of CDs 2-7, and 9 and lastly CD #1,
mount /mnt/cdrom
cp -a /mnt/cdrom/RedHat . # Linux's -a option = AIX's -prh options
cp -a /mnt/cdrom/RE*en* .
cp -a /mnt/cdrom/EULA .
cp -a /mnt/cdrom/GPL .
cp -a /mnt/cdrom/README .
cp -a /mnt/cdrom/README-Acc* .
cp -a /mnt/cdrom/SRPMS .
cp -a /mnt/cdrom/dosutils .
cp -a /mnt/cdrom/i* .
cp -a /mnt/cdrom/RPM-GPG-KEY .
umount /mnt/cdrom
You can ignore the following error messages,
"No such file or directory"
"cp: cannot create regular file .../TRANS.TBL': Permission denied"
============================================================================
This came from the README on the first CD.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DIRECTORY ORGANIZATION
Red Hat Enterprise Linux is delivered on seven CD-ROMs consisting of
installation CD-ROMs and source code CD-ROMs.
The first Installation CD can be directly booted into the installation on
most modern systems, and contains the following directory structure (where
/mnt/cdrom is the mount point of the CD-ROM):
/mnt/cdrom
|----> RedHat
| |----> RPMS -- binary packages
| \----> base -- information on this release of Red Hat
| Enterprise Linux used by the installation
| process
|----> images -- boot and driver disk images
|----> isolinux -- Files used for booting from CD
|----> dosutils -- installation utilities for DOS
|----> README -- this file
|----> RELEASE-NOTES -- the latest information about this release
| of Red Hat Enterprise Linux
\----> RPM-GPG-KEY -- GPG signature for packages from Red Hat
The remaining Installation CDs are similar to Installation CD 1, except
that only the RedHat subdirectory is present. (This isn't true. RAJ)
The directory layout of all Source Code CDs are as follows:
/mnt/cdrom
|----> SRPMS -- source packages
\----> RPM-GPG-KEY -- GPG signature for packages from Red Hat
If you are setting up an installation tree for NFS, FTP, or HTTP
installations, you must copy the RELEASE-NOTES files and all files from the
RedHat directory on all Installation CDs. On Linux and UNIX systems, the
following process will properly configure the /target/directory on your
server (repeat for each disc):
1) Insert disc
2) mount /mnt/cdrom
3) cp -a /mnt/cdrom/RedHat /target/directory
4) cp /mnt/cdrom/RELEASE-NOTES* /target/directory (Installation CD 1 only)
5) umount /mnt/cdrom
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
These directions are wrong. First of all, there are 9 CDs, not 7.
And unless you do the first CD last, their directions leave you with a
screwed-up RedHat/base/comps.xml file as described above. Lastly, these
directions don't get all of the stuff you need from the documentation CD #8.
You're better off following my directions.
==============================================================================