Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > The Alternative OS

How to mount an ISO image in Linux

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 03-10-2002
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,600 posts
How to mount an ISO image in Linux

Doubtlessly you will be familiar with tools such as ISO Buster for Windows which allow you to open an ISO file without having to burn it to CD to have a little lookie at its contents....

However, in Linux we have this tech built in. And ISO image can be mounted just like any device or file system, and here is how...

Create a mount point for the ISO:

BASH# mkdir /mnt/iso

Now mount the ISO in the mount point with the following command:

BASH# mount myiso.iso /mnt/iso/ -t iso9660 -o ro,loop=/dev/loop0

Where myiso.iso is your ISO file.

What I haven't tried yet is omitting the ro (read only) option, so that it might be possible to make changes to the ISO before finally burning, not sure if this works (will check) but the command would probably look like this:


BASH# mount myiso.iso /mnt/iso/ -t iso9660 -o loop=/dev/loop0



Have fun!
Reply With Quote
  #2  
Old 03-11-2002
Mictlantecuhtli's Avatar
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,749 posts
System specs
If one wants to avoid writing, -t iso9660 can be skipped since it's the default. -o ro is quite useful, it's not always wise writing to images. Keep those tips coming!
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 04-20-2006
Newcomer, in training
 
Member since: Apr 2006, 7 posts
When i try to run that it says that i have no /dev/loop file and it exits. what should i do?
Reply With Quote
  #4  
Old 04-20-2006
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 posts
System specs
/dev/loop0, /dev/loop1,/dev/loop2 and so on.

Actually you don't need to specify the loop device at all - plain "-o loop" will work just fine.
Reply With Quote
  #5  
Old 04-20-2006
Newcomer, in training
 
Member since: Apr 2006, 7 posts
ok i got it to mount or atleast the console didnt give me an error, but now i cant find it to use it.
Reply With Quote
  #6  
Old 04-20-2006
Nodsu's Avatar
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,430 posts
System specs
The second parameter (/mnt/iso in this example) is the directory under which you see the iso file contents.
Reply With Quote
  #7  
Old 01-28-2007
Newcomer, in training
 
Member since: Jan 2007, 2 posts
FREE ISO Mounting Utility

I was reading this thread trying to figure out how to mount an ISO.
Thanks to your posts here, I was able to do so.

I am no stranger to linux because I have used it as a server for years, however, I have recently switched my desktop to linux and was looking for something similar to deamon tools for Win32. (I know that is a 4 letter word) Well, I couldn't find anything other than your posts here.

So I decided to create my own utility.
I am providing it as entirely free and open source and you can download it here:
http://www.vsoursehosting.com/downlo...SOMOUNT.tar.gz

Simply extract it, and run perl INSTALL
You might want to read the README first.

It can mount ISO images and you can even drag and drop your iso image unto the utility to mount and open it in nautilus.

I haven't tested it on any other distro than ubuntu Edgy eft, so if anybody has any problems, please let me know.

Also, if there is anybody who wants to improve it, please let me know.
This utility was created in a day but it saves me a ton of time because I mount ISO's all the time.
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #8  
Old 06-04-2007
Newcomer, in training
 
Member since: Jun 2007, 2 posts
Thank you

Thank you man, I was looking for just these info,

you have helped me a lot.

H
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Linux bookmarks Phantasm66 The Alternative OS 14 07-10-2008 10:36 AM
How can I network Windows 2000 with a Red Hat Linux PC? acidosmosis The Alternative OS 13 08-08-2005 02:39 PM
To Linux or not to Linux Vehementi The Alternative OS 31 04-22-2005 02:02 PM
Mandrake Linux 9.2 Released Phantasm66 Old Frontpage News & Comments 1 10-14-2003 05:10 PM
Linux Goes a la Carte with UnitedLinux Phantasm66 News & Interesting links 1 06-05-2002 04:21 PM


All times are GMT -4. The time now is 09:08 AM.