Mount ISO Files

Loop De Loop

Someone recently asked me about reading ISO files and how to go about it. In Debian or any flavour of Linux it's easy.

The command is in three parts.

1. The mount command.
2. The location of the ISO file.
3. The location of the mount point.

ISO file is called homevideo.iso. Locate the ISO image in your home directory. Create a directory to mount it.

mkdir isomnt

We mount the ISO in our home directory mount point:

mount -o loop /home/myname/homevideo.iso /home/myname/isomnt

You can cd into /home/myname/isomnt to check the contents.

When your done you need to unmount the ISO file. Do:

umount /home/myname/isomnt

That's about it.