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

Go Back   TechSpot OpenBoards > TS Community > Guides and Solved Issues

How to mount an ISO image in Linux

Reply
 
Thread Tools
  #1  
Old 03-10-2002, 03:21 PM
Phantasm66's Avatar
Phantasm66 Phantasm66 is offline
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,577 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, 12:06 PM
Mictlantecuhtli's Avatar
Mictlantecuhtli Mictlantecuhtli is offline
TS Special Forces
 
Location: Finland
Member since: Feb 2002, 4,743 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, 12:01 AM
linuxNEWbie linuxNEWbie is offline
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, 02:25 AM
Nodsu's Avatar
Nodsu Nodsu is offline
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,432 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, 06:43 AM
linuxNEWbie linuxNEWbie is offline
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, 11:23 AM
Nodsu's Avatar
Nodsu Nodsu is offline
TS Special Forces
 
Location: Estonia
Member since: Feb 2002, 9,432 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, 04:36 AM
rperea rperea is offline
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
  #8  
Old 06-04-2007, 03:14 AM
hhegab hhegab is offline
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
  #9  
Old 06-04-2007, 03:52 AM
Phantasm66's Avatar
Phantasm66 Phantasm66 is offline
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,577 posts
Any time, and thanks for the comments from others, as well as the link to the application rperea wrote. If we work together, we can accomplish all sorts!
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #10  
Old 01-10-2008, 03:47 PM
schenne schenne is offline
Newcomer, in training
 
Member since: Jan 2008, 7 posts
Thanks for help
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount an ISO image in Linux Phantasm66 The Alternative OS 7 06-04-2007 03:14 AM
linux image iso albywiller The Alternative OS 11 05-22-2006 06:36 AM
How to get image of RAM in Linux & Solaris through C++ Programming nagamohan_p The Alternative OS 3 09-01-2005 09:12 AM
Drive Image Problems Restoring Image LakesideLady Misc. Software & Utilities 1 03-09-2005 04:25 PM
help cd won't mount anything jefhel Other Hardware 4 09-08-2003 03:18 AM


All times are GMT -4. The time now is 05:57 PM.