How to mount an ISO image in Linux

By Phantasm66 ยท 7 replies
Mar 10, 2002
  1. 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!
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    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! :)
  3. linuxNEWbie

    linuxNEWbie TS Rookie

    When i try to run that it says that i have no /dev/loop file and it exits. what should i do?
  4. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    /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.
  5. linuxNEWbie

    linuxNEWbie TS Rookie

    ok i got it to mount or atleast the console didnt give me an error, but now i cant find it to use it.
  6. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    The second parameter (/mnt/iso in this example) is the directory under which you see the iso file contents.
  7. rperea

    rperea TS Rookie

    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:

    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.
  8. hhegab

    hhegab TS Rookie

    Thank you

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

    you have helped me a lot.

Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...