Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-19-2004, 05:38 AM   #1
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.
Old 11-19-2004, 06:17 AM   #2
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
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


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 10 07-04-2015 12:48 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 PM.

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