How to mount an ISO file on Linux

The first step is to create a mount point for the iso file to be loaded in.

>sudo mkdir /mnt/iso

Next use the mount command to attach the iso file you want to load.

>sudo mount /pathtoiso/image.iso /mnt/iso -o loop

The -o loop command tells the command to mount a loop device to the iso specified, then mount it on the mounts point specified.

To view, the contents of the iso file use the ls command.

> ls /mnt/iso

When you are done and want to unmount the iso, run the following command.

>sudo umount /mnt/iso

If the iso is in use this command will force it to unmount.