Dave's Brain

Browse - Computer Tips - How do I mount a .iso image without burning a CD-ROM ?

Date: 2010nov2
OS: Linux

Q.  How do I mount a .iso image without burning a CD-ROM ?


A.  If your file is /tmp/myfile.iso

First, become root.

You first need to make a "mount point" which is just an empty directory.
The /mnt folder is a good place for this:

mkdir /mnt/myfile
Now you can mount it:
mount -o loop -t iso9660 /tmp/myfile.iso /mnt/myfile
This is called a "loopback" mount and very cool in my opinion. Use it like this:
cd /mnt/myfile ls
When you are done unmount as follows:
umount /mnt/myfile

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.