Mount an ISO file in Linux

Sometimes you need to mount an ISO archive in Linux. Now I’m using Fedora, but it’s basically the same in about any Linux distro, You can use the image via the loop device in Linux.

First you have to become root or use sudo.

su -

Create a directory in which you want to mount the image. I want to mount a DVD so I’ll just create a

DVD

directory in the

/media

directory

mkdir /media/DVD

Now mount the image

mount -o loop DVD.iso /media/DVD

When you look in the directory

/media/DVD

you will see the contents of the mounted image

ls -alh /media/DVD

After using your image (or in my case watching your DVD unmount it

umount /media/DVD