Ubuntu: How to Mount and Unmount ISO Files

An ISO file is an image of a CD or DVD. You can access the files contained within the ISO (without installing any software or having to burn the image to disc) by mounting the image and unmount the image when you are done with it. Here’s how:


1. Open a terminal window.

2. You will need to create a new directory for your ISO image. Execute the following command in your terminal window:sudo mkdir /media/iso

3. Now execute this command to mount the ISO image:sudo mount -o loop /home/shamanstears/Documents/test.iso

Make sure to change the path in the above command to the path of the desired ISO file.

4. Close the terminal window.

5. Go to the Ubuntu Main Menu.

6. Click Places and select iso.

7. The file browser will open, displaying the contents of the ISO image.

To unmount the file, use this command in a terminal window:sudo umount /media/iso/

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

12 Responses to “Ubuntu: How to Mount and Unmount ISO Files”

  1. November 03, 2008 at 9:41 am, overclucker said:

    when i do that, i get the message: mount: can’t find /path/to/iso in /etc/fstab or /etc/mtab,
    instead i issue this:
    sudo mount -t iso9660 -o loop /path/to/iso /path/to/dir
    which doesn’t rely on any auto mounting, or mapping extras that not all might have

    Reply

  2. November 06, 2008 at 7:18 am, JL said:

    The instructions are missing the mounting point. The correct command is:

    sudo mount -o loop /home/shamanstears/Documents/test.iso /media/iso

    Reply

  3. December 28, 2008 at 3:05 pm, deewanagan said:

    tank u for this how to,i think in order to mount we should specify the folder on which we want to mount the .iso file. so the mount command should look like this :
    “sudo mount -o loop /home/shamanstears/Documents/test.iso /media/iso”

    Reply

    • March 02, 2011 at 7:18 pm, Josh said:

      It is stated above that you need to change the path to the iso. READ PEOPLE READ.

      Reply

  4. May 03, 2009 at 3:43 am, Vlad003 said:

    Is there any possible way to do this in a non-root account. I want to be able to unmount the iso from the icon it creates on the desktop. I can mount cds and usb drives in my non-root account but iso’s need root?

    Reply

  5. May 07, 2009 at 11:38 am, Dracu@l said:

    I only get up options for the mount function :(
    running ubuntu 9.04

    Reply

  6. November 23, 2009 at 9:28 pm, Anonymous said:

    Brasero did two files from my audio CD:
    cd.toc
    cd
    Now I’ve lost my original CD and need to grab mp3 files from my audio. How can I do it without burning?

    I tried in this way:
    mount -o loop -t iso9660 /home/x/cd.toc /media/cd2
    But I get the following responce:
    “wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error”

    Reply

    • November 05, 2010 at 1:47 am, Reed G said:

      To get mp3 from cd.toc and cd files, burn them to CD then you can use one of the extractors like Ripper-X or somthing similar. I was told that yYou must have the original source (record, tape, or cd) to have an MP3 back-up.

      Reply

  7. June 13, 2011 at 11:11 pm, Tulle Rönnmyr said:

    Worked for me, after a bit of tweaking. As deewanagan said above, you need to specify the /media/iso folder, and you have to remember that no spaces are allowed in the folder names (change them to an underscore) and that uppercase letters needs to stay that way.

    Reply

  8. April 16, 2012 at 7:46 pm, zero said:

    When I try to make step 2 , I get this message : mkdir: cannot create directory `/media/isoimage’: No such file or directory

    what should I do?

    Thanks
    zero

    Reply

  9. May 24, 2012 at 3:42 am, Dixon said:

    The command for Precise Pangolin (and perhaps others) to mount should actually include the mount point.

    Example: sudo mount -o loop /home/shamanstears/Documents/test.iso /media/iso

    Reply

  10. August 22, 2013 at 8:04 am, Pablo said:

    3. Now execute this command to mount the ISO image:

    sudo mount -o loop /home/shamanstears/Documents/test.iso /media/iso/

    Reply

Leave a Reply