Mount loop devices

Sometimes, especially in forensics, you will have to mount iso images or .ad1 etc… Your kernel need to understand that this image is a filesystem. These files will acts like a block-based devices To do this, you can use loop devices to emulate the whole filesystem :

bash

sudo mount -o loop image.iso /mnt 

bash

sudo losetup /dev/loop0 image.iso
sudo mount /dev/loop0 /mnt

This will slice the disk image in partitions in /dev/mapper/loop0nX

bash

sudo kpartx -av /dev/loop0