Chapter 2. Performing the pre-customization tasks
You can customize the Red Hat Enterprise Linux installation media by downloading the Red Hat Enterprise Linux 10 boot images from the Red Hat Customer Portal. Once downloaded, extract their contents and rebuild the boot image with specific modifications to support tailored deployment needs.
2.1. Working with ISO images Copy linkLink copied to clipboard!
Customizing the installer requires working with the distribution ISO: extract the image to modify its contents, then build a new boot image that includes those changes. For example, add-ons, product.img, or other Anaconda customizations. This workflow covers:
- Extracting a Red Hat Enterprise Linux ISO to a working directory.
- Creating a new boot image that contains the customizations.
2.2. Downloading RHEL boot images Copy linkLink copied to clipboard!
Before you begin to customize the installer, download the Red Hat-provided boot images. You can obtain Red Hat Enterprise Linux 10 boot media from the Red Hat Customer Portal after logging in to your account.
- Your account must have sufficient entitlements to download Red Hat Enterprise Linux 10 images.
-
You must download either the
Binary DVDorBoot ISOimage. - You cannot customize the installer by using the other available downloads, such as the KVM Guest Image or Supplementary DVD.
2.3. Extracting Red Hat Enterprise Linux boot images Copy linkLink copied to clipboard!
You can extract the contents of a boot image to a working directory and modify the contents to create a new boot image. You can find the boot images on the Red Hat Customer Portal.
Procedure
-
Ensure that the directory
/mnt/isoexists and nothing is currently mounted there. Mount the downloaded image.
# mount -t iso9660 -o loop path/to/image.iso /mnt/isoWhere path/to/image.iso is the path to the downloaded boot image.
Create a working directory where you want to place the contents of the ISO image.
$ mkdir /tmp/ISOCopy all contents of the mounted image to your new working directory. Ensure that you use the
-poption to preserve file and directory permissions and ownership.# cp -pRf /mnt/iso /tmp/ISOUnmount the image.
# umount /mnt/iso