This is a quick hack that will create a bootable DVD iso of a Red Hat Linux Distribution. This is most importantly relevant to RHEL which is only distributed from Redhat as a normal CD-ROM image. This is also useful for any other Redhat distribution that is ISO Linux based.
This hack is a script written by Chris Kloiber that is fed either a directory containing the downloaded iso files, or a directory containing the "RedHat", "isolinux", and "images" directories.
Since RHEL4 is the certified Linux distribution for many production applications for the time being, and since RHEL4 doesn't have a DVD edition, This scriptcan be used to consolidate the the five iso images into one DVD image.
Here are the steps:
1- Ensure that you have enough space that is 3X the distribution size at least.
2- Ensure that the script has the execution flag set.
# chmod u+x mkdvdiso.sh
3- Usage: mkdvdiso.sh source /destination/DVD.iso
The 'source' can be either a directory containing a single set of isos, or an exploded tree like an ftp site.
4- The script will start doing its job, after a while, may be 5 minutes, viola! The /destination/DVD.iso is ready.
5- You can- afterwards- burn that DVD iso image using growisofs command or k3b.
# growisofs -dvd-compat -Z /dev/dvd=/destination/DVD.iso
The advantage is that you can now install RHEL by setting the install options and leaving without the need to insert the next CD and without the time wasted if you ever forget to insert the next CD for quite some time.
If you came across the situation where the Network PXE install is not working due to the kernel that is not recognizing the network interface driver, this is the solution but alongside the kickstart file from a USB pen drive to perform the complete flexible rock solid unattended installation.
Download the script from here: http://mirror.centos.org/centos/build/mkdvdiso.sh
Download the script from here: http://mirror.centos.org/centos/build/mkdvdiso.sh
