Custom boot disk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Custom boot disk

Jerry Geis
HI All,

I am trying to create a customer boot CD/DVD/iso.  Basically just copy the iso
and "replace" one file the boot menu txt.cfg is what I want to do. I added a timeout line "timeout 90" and a label entry. That is all. My Script:


MOUNT_POINT="/mnt/iso"
DATE=`date "+%Y.%m.%d"`
DESTINATION_DIR="/home/silentm/development.systems/Ubuntu-Server.20.04"
DESTINATION_IMAGE="/home/silentm/CDROM.iso/Ubuntu.20.04/Ubuntu.20.04.LSI.$DATE.iso"

rm /home/silentm/CDROM.iso/Ubuntu.20.04/*.LSI.*.iso

mount -o loop /home/silentm/CDROM.iso/Ubuntu.20.04/ubuntu-20.04.1-live-server-amd64.iso $MOUNT_POINT

mkdir -p $DESTINATION_DIR
cp -rT $MOUNT_POINT $DESTINATION_DIR

umount $MOUNT_POINT

# Put in CUSTOM file
cp /home/silentm/src/isolinux_ubuntu20.txt.cfg $DESTINATION_DIR/isolinux/txt.cfg

mkisofs -r -V "Custom Ubuntu Server Install CD" \
        -cache-inodes \
        -J -l -b isolinux/isolinux.bin \
        -c isolinux/boot.cat -no-emul-boot \
        -boot-load-size 4 -boot-info-table \
        -o $DESTINATION_IMAGE $DESTINATION_DIR

rm -rf $DESTINATION_DIR



Runs without errors. But when I boot the iso - its like my changes did not take effect at all. I do not get a menu with a 9 second timeout and the boot just boots into the normal first menu screen with the Try or Install.

What am I missing to get a menu to show to select the install menu item I added.
Must be something easy.

Jerry

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users