LinuxQuestions.org
Visit Jeremy's Blog.
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 09-15-2005, 04:59 PM   #1
mohtasham1983
Member
 
Registered: Apr 2005
Location: San Jose
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408

Rep: Reputation: 30
running iso files


I don't have a cd writer.
I want to know is it possible to mount an ISO file in linux like some program in windows?
 
Old 09-15-2005, 05:17 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,532

Rep: Reputation: 210Reputation: 210Reputation: 210
Yes, and it's very easy to do in linux from the command line. Open a console and run the following:

$ mkdir /home/<username>/isomount
$ su
<enter root password>
# mount <path to iso> /home/<username>/isomount -o loop

If you look in your home directory you will see the directory, isomount which you made above. Open isomount and you will see the contents of the iso. When your done looking at the contents of the iso, you should unmount the iso file with:

# umount /home/<username>/isomount

Your access is read only as this emulates a cd drive using a loop device in linux.

Last edited by kilgoretrout; 09-15-2005 at 05:18 PM.
 
Old 09-16-2005, 12:46 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do not forget the -t option because it will have problems mounting it.
 
  


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
.rar files versus .iso files the difference? dolphans1 Mandriva 14 01-31-2005 09:33 AM
ISO files Sion Linux - Software 10 09-17-2004 05:51 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 06:15 AM
ISO files....... xtox General 6 09-09-2003 08:44 PM
ISO Files net travels Slackware 6 07-14-2002 11:39 PM


All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration