Edit a file on an ISO

Tony Arnold tony.arnold at manchester.ac.uk
Mon Feb 25 00:58:53 UTC 2008


Bart Silverstrim wrote:
> NoOp wrote:
>> On 02/24/2008 11:15 AM, Bart Silverstrim wrote:
>>> Is there a way or a howto/etc. that deals with how to edit a file on an 
>>> ISO and re-burn easily?
>>> I have a bootable iso image and on it there is a file I'd like to make a 
>>> small edit on before burning to an actual CDR.  I know you can jumpt 
>>> through a series of steps to extract the files and then move them to a 
>>> new ISO image and burn that, but I was hoping there was an easier way to 
>>>   do this since I just have a small change to make to one little file.
>> Try isomaster:
>> http://packages.ubuntu.com/gutsy/isomaster
> Interesting package!  Might be just what I'm looking for!
> Thanks to everyone who suggested ideas.

You can mount an iso file as a file system using the mount command, e.g.,

	sudo mount -o loop somefile.iso /mnt

You will then find all the files in the iso image in /mnt where you can
edit away and the iso file will be modified directly.

Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold

More information about the ubuntu-users mailing list