Updating Installation ISO Image

Updating Installation ISO Image

Posted on 2013-04-20 by Ed Braaten

This week I spent some time customizing an installation ISO for VMWare ESXi as part of a troubleshooting exercise. I’m documenting the generic steps here since they apply to updating just about any bootable installation ISO.

Step 1.   Mount the original ISO image file so we can copy off the files it contains.

mount -o loop original.iso /mnt/original

Step 2.   Copy the contents off of the iso image to our custom directory.

cp -r /mnt/original/* ./customized-image/

Step 3.   Tweak the contents as needed in ./customized-image.

Step 4.   Create a new ISO image using the contents of ./customized-image.

mkisofs -relaxed-filenames -J -R -o custom.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ./customized-image

Copyright (C) 2013 by Ed Braaten.  All rights reserved.
Other Blog Entries