Mount -o loop filename /mnt

Joel Goguen jtgoguen at gmail.com
Mon Nov 24 13:19:26 UTC 2008


On Mon, 2008-11-24 at 05:34 -0700, Karl Larsen wrote:
> Joel Goguen wrote:
> > 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 :)
> >
> >   
>     Really what is going on is I have a cd-rom of WindowsXP Professional 
> with SP2 and I want to put it on my cheap laptop from Compaq which came 
> with Windows Vista which is Windows Melinium in character. It is so 
> terrible I deleted it.
> 
>     Well now HP has told me the SATA hard drive has been giggered so you 
> can't load anything but Vista. I told them I loaded Ubuntu Intrepid with 
> no problems at all from the SATA hard drive.
> 
>     Then they let me d/l some strange software from the HP web page and 
> I need to "remaster" the WinXP cd-rom with these drivers within. So I 
> got the .iso easy with the gui Copy a disk. You then tell it to copy to 
> a file and it does a fine job.
> 
>     The mount -o loop was found on Google and it works of course. But it 
> has a problem(s) that prompted my message. The first is you can't add 
> any files to the .iso because it complains. I can't find any way to make 
> it a bit bigger. I think the added drivers are about 150 mb.
> 
>     What you say about getting the format right for the new cd-rom is a 
> problem I do not know a thing about.
> 
> Karl
> 
> 
I don't know what ISO level Windows XP CD uses, but try level 4 to
start.  All you need to do is:

- Copy all files from the WinXP ISO to a folder on your computer
- Add the files you need to this folder
- Run genisoimage to create the new ISO image
- Burn the new ISO to disc

-- 
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/20081124/df8ed401/attachment.sig>


More information about the ubuntu-users mailing list