It’s rather trivial task to make some changes into already burned installation or live CD. It may be performed to add some files to this CD or edit files on it. In any case it’s impossible to loop mount .iso file and then save it as iso9660 filesystem is read-only.

So, just mount your CD or iso image to some directory by commands:

sudo mkdir /mnt/image

sudo mount /dev/cdrom /mnt/image


sudo mount /path/to/your.iso /mnt/image -o loop

then copy it’s contents to some directory:

mkdir /tmp/newiso

cp -r /mnt/image /tmp/newiso

After this you can modify any files in /tmp/newiso, add files, delete them. After modifications are done, create new ISO image to be burned onto CD (or kept somewhere for a rainy day):

cd /tmp/newiso


sudo mkisofs -o /tmp/new.iso -b isolinux/isolinux.bin -c isolinux/ -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V “new iso name” .

After mkisofs is finished new ISO file will be created at /tmp directory.
It works in any Linux distributions like Ubuntu, Debian or Fedora.

Information Improvisation: Our excellent online training programs will lead you to success in the We also offer latest passguide and with 100% success guarantee. Our is rare in world.




  1. December 21, 2007  2:40 am by Robert McMellen Reply

    I installed Debian etch on my system. I followed the instructions above but when I type mkisosf, etch switches to genisoimage and refuses to use the command line options as shown. I have already invested nearly a week attempting to learn how to modify the official Debian/kde install image to my needs. Do you suppose you could duplicate your howto using genisoimage?


  2. June 25, 2008  2:14 pm by dejf Reply

    Well, that's the easy part. The hard one is to keep all the deppendencies consistent and that is where the problem rises...

  3. Pingback : » Blog Archive » Create .deb or .rpm from .tar.gz with checkinstall

  4. July 26, 2009  10:10 pm by Charlie Burnett Reply

    how do i add or remove packages from the iso?

  5. August 12, 2009  6:26 am by Chaitan Reply

    Kindly provide more guidance for ADDING / REMOVING Packages while preparing ISO Image.

  6. April 20, 2011  2:16 am by Aschenbrenner Reply

    Nice post! Have a good day and good luck!

  7. May 4, 2011  8:24 am by Rommel Reply

    I'm glad I found this! I've been searching a good howto article about this topic since last week. Great post!

  8. May 10, 2011  5:41 am by Pratt Reply

    I have added a new kernel package and i want my new iso to boot with new kernel instead of older kernel.
    Can you please suggest the steps.


  9. May 22, 2013  10:46 am by website marketing company south wales Reply

    whoah this blog is excellent i love reading your posts. Stay up
    the good work! You understand, a lot of people are searching round for this information, you
    could help them greatly.

Leave a reply


Your email address will not be published.