Mount -o loop filename /mnt

Joel Goguen jtgoguen at gmail.com
Mon Nov 24 01:42:49 UTC 2008


On Sun, 2008-11-23 at 18:32 -0700, Karl Larsen wrote:
> Joel Goguen wrote:
> > On Sun, 2008-11-23 at 17:58 -0700, Karl Larsen wrote:
> >   
> >>     What I want to do is change the ownership to me and make all the 
> >> files rwx for my purposes. But the read only has it all locked up. How 
> >> do you turn that off? Even root cannot :-)
> >>     
> > AFAIK, ISO files are read-only file systems.  You would need to copy all
> > the files off the ISO, modify what you want, then re-create the ISO
> > image.  Look at 'man genisoimage' for details on doing that.
> >
> >   
>     Thank you and genisoimage is a HUGE software. It will take a few 
> hours to learn what it can do. It looks like it can add some files to a 
> .iso file. That is what I am trying to do. I tried mkisofs -r -o but it 
> didn't work at all.
> 
> Karl
> 
For what you seem to need to do with it, it's actually quite simple.
Put all the files you want on the ISO image into a single folder, then
run 'genisoimage -o myimage.iso /path/to/folder/' and you'll have
'myimage.iso' that contains all the files in the folder.  Now, how to
change the ISO9660 conformance level to not truncate filenames and such
is up to you to find in the man page...which is actually quite easy to
find :)

-- 
Joel Goguen
Bug-free code is a myth.
Registered Linux User #391952
Registered Ubuntu User #15951
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081123/cc262bb6/attachment.sig>


More information about the ubuntu-users mailing list