Mount CD/DVD Image file as virtual drive
Being able to mount a CD/DVD image file is useful in many circumstances, be it to check an image’s functionality before burning or to install software without having to waste a disk.
Create a mountpoint. I often place it in /tmp for testing purposes.
The mountpoint-directory will be the root directory of your image file.
$ mkdir <mountpoint>
Mount Image file as a loop device
$ sudo mount -o loop <image file> <mountpoint>
Unmount virtual drive
$ sudo umount <mountpoint>