Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-28-2004, 06:25 PM   #1
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
editing iso images (mounting read-write?)

Hi there,
I need to change a few files on an iso image, while retaining the boot sector and all that other stuff that i don't understand. So basically, I need someone to tell me why "mount -o loop,rw image.iso folder/" doesn't work (mount reckons it's mounted rw, but "rm file" says ro filesystem).

Or I need someone to tell me how to create an iso from a set of folders, while retaining the important boot information from my original iso.

Old 01-10-2005, 01:43 PM   #2
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
I was wondering the same thing...can someone please help.


1 members found this post helpful.
Old 01-12-2005, 05:42 PM   #3
Registered: Aug 2004
Location: Montrose, CA
Distribution: Slackware, SuSE, OpenZaurus
Posts: 45

Rep: Reputation: 16
You can do it under Windows with WinISO ( I'm still looking for a way to do it under Linux; I'll post back if I find one.


Edit: Here's what I found. The bad news is that there doesn't seem to be an easy extractor and rewriter like WinISO, but the good news is that it is pretty easy to do this with commands.
Type "mount -o loop /path/to/iso /mnt/iso" (/mnt/iso must be created if it doesn't exist).
cp -a /mnt/iso /tmp/iso
Make all your changes in /tmp/iso.
Use mkisofs to create the modified ISO from the /tmp/iso directory:
mkisofs -R -b isolinux/isolinux.bin -c isolinux/ -no-emul-boot -boot-load-size 4 -boot-info-table -o <new iso filename> /tmp/iso

NB: I just copied that mkisofs line from another post I found, and I haven't checked yet what all the options do. "man mkisofs" is left as an exercise for the reader. :-)

Last edited by bdrake; 01-12-2005 at 06:08 PM.
1 members found this post helpful.
Old 01-12-2005, 07:36 PM   #4
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Try changing the "mode", i.e. int he options try perhaps
This is specified in "man mount". Perhaps mount will only mount iso9660 fs as ro.
1 members found this post helpful.
Old 08-30-2006, 08:19 PM   #5
Registered: Jan 2005
Posts: 232

Rep: Reputation: 36
it doesn't work because the iso filesystem driver that comes with the kernel is readonly. it is readonly because making changes to an iso on the fly would be ridiculously time and resource-consuming.

try out
1 members found this post helpful.
Old 11-16-2006, 07:51 PM   #6
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30

ISO a great app.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Write BIN/CUE ISO IMAGES? ProtoformX Linux - Software 4 01-17-2011 11:48 PM
Mounting ISO Images in Linux TomalakBORG Linux - Software 6 05-15-2005 06:03 PM
mounting bin/cue images without convert to iso? Moebius Linux - Software 1 12-05-2004 05:22 AM
problems mounting and unmounting iso images. Snerkel Linux - Software 5 08-21-2004 06:57 PM
Hi, Can I write files to mounted iso images? zhaoyoubing Linux - General 2 08-14-2003 12:05 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration