View previous topic :: View next topic |
Author |
Message |
Bohemian Apprentice
Joined: 21 Jun 2004 Posts: 255 Location: Deep Space
|
Posted: Mon Jun 28, 2004 12:53 am Post subject: View ISO Files |
|
|
I have a 2.2 GB ISO file. How can I get the contents of the file?
Thanks
Chris |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Mon Jun 28, 2004 1:01 am Post subject: Re: View ISO Files |
|
|
mejoc wrote: | I have a 2.2 GB ISO file. How can I get the contents of the file? |
You can mount it with:
Code: | mkdir temp
mount -t iso9660 -o loop file.iso temp |
After that you can access it like every other filesystem.
For this to work the loopback device support has to be in the kernel. If it is a module, you'll have to do
before that. |
|
Back to top |
|
|
Bohemian Apprentice
Joined: 21 Jun 2004 Posts: 255 Location: Deep Space
|
Posted: Mon Jun 28, 2004 2:16 am Post subject: |
|
|
Forgive me but Im new. I have done that now how do I get the files off? |
|
Back to top |
|
|
ratbert90 Apprentice
Joined: 28 May 2003 Posts: 177
|
Posted: Mon Jun 28, 2004 2:22 am Post subject: |
|
|
go to the mounted directory copy and paste like normal _________________ Ph33R mY l337 H|_|R|) 0F G|\||_|Z!! |
|
Back to top |
|
|
hepta_sean Apprentice
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Mon Jun 28, 2004 2:28 am Post subject: |
|
|
mejoc wrote: | Forgive me but Im new. I have done that now how do I get the files off? |
If you're using a graphical filemanager you should be able to browse the mounted ISO image (at temp/ in the example) and copy the files to a place somewhere in your home directory (by drag and drop or with the context menu or whatever).
If you're using a terminal ls temp will show you the contents of the image, you can walk through the image with cd <some_directory> and cd .. (to go one directory up), and cp <some_file> ~ will copy single files to your home directory.
If you want to extract the entire image to your home directory, you will probably want it in an own directory, say isocontents (probably you know a better name, since you know what's on that image). You first create that directory with mkdir isocontents and then copy all the files over there with cp -R temp/* isocontents (the -R is "recursively", i.e. it copies all the contents of all the subdirectories). |
|
Back to top |
|
|
Bohemian Apprentice
Joined: 21 Jun 2004 Posts: 255 Location: Deep Space
|
Posted: Mon Jun 28, 2004 3:22 am Post subject: |
|
|
Yea, I found it thank you. |
|
Back to top |
|
|
|