Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
View ISO Files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Bohemian
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 255
Location: Deep Space

PostPosted: Mon Jun 28, 2004 12:53 am    Post subject: View ISO Files Reply with quote

I have a 2.2 GB ISO file. How can I get the contents of the file?

Thanks
Chris
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Mon Jun 28, 2004 1:01 am    Post subject: Re: View ISO Files Reply with quote

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
Code:
modprobe loop

before that.
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 255
Location: Deep Space

PostPosted: Mon Jun 28, 2004 2:16 am    Post subject: Reply with quote

Forgive me but Im new. I have done that now how do I get the files off?
Back to top
View user's profile Send private message
ratbert90
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 177

PostPosted: Mon Jun 28, 2004 2:22 am    Post subject: Reply with quote

go to the mounted directory copy and paste like normal
_________________
Ph33R mY l337 H|_|R|) 0F G|\||_|Z!!
Back to top
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Mon Jun 28, 2004 2:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Bohemian
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 255
Location: Deep Space

PostPosted: Mon Jun 28, 2004 3:22 am    Post subject: Reply with quote

Yea, I found it thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum