LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-19-2004, 05:38 AM   #1
vito_huang
Member
 
Registered: Oct 2004
Posts: 68

Rep: Reputation: 15
how to extract an .iso file to an directory


how to extract an .iso file to an directory??because i don't want to burn .iso to CD.
thanks
 
Old 11-19-2004, 06:17 AM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The simplest way is to loopback mount the file. This will assign one of /dev/loop[0-7] to the file and mount that device - thereby giving you the .iso contents in a directory pretty much identical to if you had burnt the disc. This is done with a normal mount command except that whereas one would normally type:

mount [-t <filesystem>] <dev> <mnt point> [-o <options>]

one now types:

mount [-t <filesystem>] <file> <mnt point> -o loop[,<options>]

i.e. use the file instead of the device and add loop to the list of mount options. You will need to be root to mount/umount the directory - hope this helps.
 
Old 11-29-2004, 09:12 PM   #3
candymanOBH3
LQ Newbie
 
Registered: Aug 2003
Distribution: Debian flavors
Posts: 1

Rep: Reputation: 0
This'll do it:

mount -o loop /path/to/file.iso /mnt/somewhere
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open/extract ISO file in Linux? sattu Linux - Software 9 10-13-2011 03:25 AM
Extract contents from an ISO General Linux - Software 3 12-10-2005 07:46 PM
How can I extract a file from iso archive kmichal2 Linux - Software 8 12-14-2004 05:48 AM
how to extract an ISO image from a CD davido Linux - General 3 07-08-2003 03:03 PM
mount a .iso or extract a .iso behind user witout access to root easytarget Linux - Newbie 3 09-29-2002 05:01 AM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration