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.

  • overclucker

    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

  • JL

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

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

  • deewanagan

    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”

    • Josh

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

  • http://vlad003.wordpress.com Vlad003

    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?

  • Dracu@l

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

  • Anonymous

    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”

    • Reed G

      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.

  • Tulle Rönnmyr

    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.

  • zero

    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

  • Dixon

    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

  • Pablo

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

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