Create bootable RedHat iso from folder

Solution 1:

Here an example:

mkisofs -r -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V 'my-rhel6.4' -p 'RHEL6.4' -A 'RHEL6.4' -b isolinux/isolinux.bin -c isolinux/boot.cat -o /var/tmp/my-rhel6.4.iso /path-of-your-distro

Solution 2:

You will need to specify a boot image and a boot catalog for mkisofs to make the disk bootable. These files are often called isolinux.bin and boot.cat respectively, and you should specify them to mkisofs via the -b and -c flags:

mkisofs -b isolinux.bin -c boot.cat -no-emul-boot -o genertatedIso.iso /MyRep