Linux and ISO images

For any of you out there that work with Linux and ISO images, here is a nifty trick for mounting your ISO images directly without having to burn them to CD’s first. Basically, pick your mount point (/mnt/iso in this example) and your ISO image (/tmp/myimage.iso in this example) and go. Check out this command:

mount /tmp/myimage.iso /mnt/iso/ -t iso9660 -o loop=/dev/loop0

And there you have it, the ISO file is now accessible at /mnt/iso, it’s just that easy!