Mount ISO & IMG Files In Linux

Mount 'em Up

ISO and IMG files content can be accessed quite easily in Linux. First you need to connect the iso / img files to your files system. Just as USB pen drives / memory sticks need to be connected before you can use them. For USB storage, this is normally done automatically by the operating system.

Connecting iso / img files is called mounting. The term comes from the early days of computing as a method for old mainframe computers to connect storage media. In order to attach the data storage, they were first mounted on the mainframe.

To mount iso or img files create a mount point in /mnt, then mount it:

mkdir /mnt/newiso
mount -o loop ./various.iso /mnt/newiso

Now cd into the newly mounted iso:

cd /mnt/newiso/

Done!