ISO modification

Modifying a ISO file using linux


Steps

  1. Create a directory to mount the ISO file:
mkdir /mnt/iso
  1. Mount the ISO file:
sudo mount -o loop file.iso /mnt/iso
  1. Modify the contents of the mounted ISO file as needed.

  2. Create a new ISO file with the modified contents:

genisoimage -o newfile.iso -r -J /mnt/iso
  1. Unmount the ISO file:
sudo umount /mnt/iso