Rhel 6 Iso



Reduce the Red Hat Enterprise Linux (RHEL) 7.8 DVD ISO size for optimized delivery.

CentOS Linux version 6.1 has been released and available for the download. It is a community-supported operating system based on Red Hat Enterprise Linux (RHEL) version 6.1. CentOS Linux is considered as the most popular Linux distribution for web servers and general purposes usage. For Red Hat Enterprise Linux 6.10. 2017-03-21: NEW. Distribution Release: Red Hat Enterprise Linux 6.9: Rate this project: Red Hat has announced the release of Red Hat Enterprise Linux (RHEL) 6.9, the latest version of the distribution's legacy branch which was originally launched in November 2010 and which will be supported with security updates until late 2020: 'Red Hat Enterprise Linux 6.9 delivers new hardware support.

More Linux resources

Editor's note: Modifying Red Hat Enterprise Linux installation media is not a supported process, but this handy workaround may be useful to you. Please see this solution on the Red Hat Customer Portal for more information and other options that you may wish to consider for your environment.

Not everyone has high-speed network connections to locations where they need to install Red Hat Enterprise Linux (RHEL). Customers often ask how they can reduce the installation media to make delivery over slower networks faster. I walk you through the steps to build a custom, small RHEL installation ISO. The default RHEL 7.8 ISO is over 4GB in size; these steps show you how to create a RHEL 7.8 ISO that is 1GB in size and supports a smaller RHEL installation.

Step 1: Build a RHEL 7.8 system with the desired package set

Use any installation method to install/configure RHEL 7.8 to the desired state. I built one with the “minimum” package option using the graphical installer. After rebooting, create a list of all installed RPM packages so you can use that list as the source to build a customized smaller ISO. This source list of RPMs ensures our new smaller ISO has only the packages needed to install, thus reducing the overall size of the ISO required for installation.

Redhat 6 Iso Download

The build RPM list is used as the source of the package list in Step 2:

Copy rpmlist.txt to your ISO build system directory in Step 2.

Step 2: Build a small ISO

The following instructions build the small ISO directory structure, copy contents from the RPM list provided in Step 1, and then generate a small ISO file to be used for installation.

1. Download the RHEL7.8 Binary ISO:

2. Loop mount it so we can copy its contents to a location to manipulate:

Download Rhel 6 Iso

3. Create a working directory structure and copy the master ISO contents:

4. Remove all existing packages:

5. Remove all add-ons (optional):

6. Copy the RPM list from the RPM list text file generated from Step 1 to /mnt/rhel7.8-small/Packages/:

7. Make the ISO:

Install the following ISO tooling:

8. Implant an MD5 sum into the ISO:

9. Convert the ISO image to be compatible for a USB boot image:

Step 3: Update ISO with latest RPMs from Satellite 6 Content View

If you have Satellite 6, you can use the yumdownloader utility to download updated content from a Satellite Content View. This generates a small ISO updated with the latest content, which alleviates the need to immediately patch your system after deployment.

Rhel 6 Iso

Install yumdownloader, download the updated content, and create a new updated small ISO.

1. Install the yum-utils plugin:

Rhel 6 Iso

2. Download the latest RPMs from Satellite 6 Content View. This assumes the system is currently registered and subscribed to an updated Content View in Satellite 6:

Use the RPM list created in Step 1 as a source in a for-loop to download only the x86_64 architecture packages, and ensure you exclude any i686 packages:

3. Copy the updated RPMs to the Packages directory structure, then recreate the RPM metadata:

4. Make the updated ISO:

Rhel 6 Iso

5. Implant an MD5 sum into the ISO:

6. Convert the ISO image to be compatible as a USB boot image:

Wrap up

In summary, by reducing the number of packages to only those required for the desired installation, one can significantly shrink the size of the installation media ISO file. This size reduction can enable faster deployment or staging times when dealing with slow network connection speeds.

[ Free online course: Red Hat Enterprise Linux technical overview. ]

Related Content