This is a version of Frisco Rose's web enabled, automated script with a few of my own minor changes added. I've made it available for local download here as mkisofw.sh. This script uses different directories than my "How To" version and it creates them if they don't pre-exist. I recommend you first create "/root/cdfw" manually and put all of your own unique configuration files and folders there per Frisco's script excerpt below.
# Directory where a master copy of all config files are kept.
# This directory can contain a complete list, or any part thereof,
# of the iso image file hierarchy.
MASTERDIR=/root/cdfw
The following was part of Frisco's help file that sets the file protections for the script and runs it. I tested this one and it produced a good, bootable CDRW on my system.
Edit the configuration section to your liking, the defaults should mostly
work except for the CDRECOPT setting, that will most likely need to be modified.
Then as root -
chmod u+x mkisofw.sh
./mkisofw.sh