Mount -o loop filename /mnt

Karl Larsen k5di at zianet.com
Mon Nov 24 12:34:15 UTC 2008


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


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list