Ubuntu: How to Mount and Unmount ISO Files

Contributor Icon Contributed by shamanstears Date Icon January 14, 2008  
Tag Icon Tagged: Linux

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/

Previous recipe | Next recipe |
 
  • 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"
  • 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
blog comments powered by Disqus