Burning a RedHat CD HOWTO

Luigi Bitonti


Morten Kjeldgaard


Peter von der Ahé


Guillaume Lelarge - Review and French translation.

Revision History
Revision v2.12003-10-17Revised by: lb
Added RedHat 9. Fixed some minor bugs. Thanks to all the people who have sent in comments and patches.
Revision v2.032003-03-10Revised by: lb
Added some comments and fixes to the howto. The anaconda updates are now included correctly even for versions >= 7.x.
Revision v2.022003-03-06Revised by: lb
The signature checking now works for packages targeted to versions of RedHat different from the one used to run the scripts. Corrected a bug in the version comparison section of the scripts.
Revision v2.012002-12-04Revised by: lb
Second release of the new version of the howto. All the scripts were reviewed and cleaned. The updateDist.sh script now checks that all the updates were downloaded before checking the signatures.
Revision v2.002002-10-28Revised by: lb
First release of the new version (2.00) of the HOWTO

This document describes how to make your own CDs from different releases of the Red Hat Linux distribution (up to and including release 9), equivalent to the ones commercially available from Red Hat. The structure of the distribution is described, as well as the procedure needed to include updated RPMS into the distribution. Some hints and examples on how to customize the default installation are also presented. Scripts to automate as much as possible the (re)generation of the CD images are included. Prerequisites are a good network connection, and a CD-writer (a working knowledge of shell scripting could be really useful, though).

Table of Contents
1. Introduction
1.1. Disclaimer and License
2. Anatomy of the Red Hat FTP site
2.1. Redhat 9 directories organization
2.2. The "RedHat" directory -- the core of the distribution
2.3. The "updates" directory
2.4. Differences for the 8.0 tree
2.5. Differences for the 7.x tree
2.6. Differences for the 6.x tree
3. RPM packages
3.1. Comparing two versions of a RPM package
4. Obtaining your local copy of the distribution
4.1. Using wget and bash
4.2. Using mirror
5. Including the updates
5.1. Correcting the file protection modes
5.2. Replacing the updated RPMS
5.3. Rebuilding the installer
6. Burning the CD(s)
6.1. Test the image(s)
6.2. Burn the disk(s)
7. The comps file
7.1. Format of comps file in RedHat versions < 6.1
7.2. Format of comps file in RedHat version 6.1
7.3. Format of comps file in RedHat version 6.2
7.4. Format of comps file in RedHat version 7.3
7.5. Format of comps file in RedHat version 8.0 and 9
8. Installing from the CD
8.1. Booting from a bootable CD
9. Other Linux distributions
10. This document...
10.1. Related documentation
10.2. Acknowledgements