This trick explains how you can view an ISO image just as if it were part of a regular filesystem in GNU/Linux. This will allow you to share the files, check its content, etc…
The trick will be performed by using the loop device, /dev/loop. First of all make sure you have support for loopback device:
Block devices —>
…..
Loopback device support
…..
If not, enable loopback device support as module and re-compile your kernel.
Now, to view the content of your ISO image proceed as follows:
losetup /dev/loop0 /path/to/file.iso
mkfs -t ext2 /dev/loop0
mount -t ext2 /dev/loop0 /mnt
Once finished, umount and detach the device:
umount /dev/loop0
losetup -d /dev/loop0