add/remove files to an ISO image and save the changes to the same iso file.

Posted on 2006-04-08
Last Modified: 2010-04-20
Is there a way to mount a CD/DVD ISO image as writable filesystem?
Or is there a software like Winiso or Magiciso for linux able to to that?

My goal is to add or remove some files to an ISO image without recreating the entire ISO image from scratch. I know that I can copy the entire contents of the iso image in a directory, add the files and then recreate the iso image, but this takes too much time and it's not efficient at all. With Winiso or Magiciso (for Windows) I simply open the file, add/remove something, save. The file is saves in a second (it is not rewritten entirely). Is there a software like this for linux? Even non-free.

The perfect solution would be to mount the iso as writable... but I couldn't achieve this.

If I do (as root): mount -o loop -t iso9660 filename.iso /mnt/iso

the /mnt/iso looks like writable, but if I try to write something inside I get:

touch /mnt/iso/test
touch: cannot touch `/mnt/iso/test': Read-only file system

I tried also: mount -o loop,rw -t iso9660 filename.iso /mnt/iso
it is still readonly...

I'm using Ubuntu Linux, kernel-image 2.6.12-10-k7. But if you tell me that there is a patched module or writable support in a new kernel it's not a problem for me to recompile it and try. Just let me know ;-) Thanks.
Question by:firepol
    LVL 43

    Expert Comment

    > Is there a way to mount a CD/DVD ISO image as writable filesystem?
    No. The iso filesystem id RO by design.

    > My goal is to add or remove some files to an ISO image without recreating the entire ISO image from scratch.
    Unfortunatelly that's what You have to do.

    > Is there a software like this for linux
    Not aware of, but maybe others...
    LVL 27

    Expert Comment

    I aggree with ravenpl, you should recreate ISO each time you modify any file or directory.
    LVL 4

    Accepted Solution

    You could run MagicISO with wine, that seems to work for me ...
    At least the Command-Line "miso.exe" works ..
     (no Burning capability, but hey, enough for what you wanted ... ;) )

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now