Mount loop devices
Contents
Mount with a loop device
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 :
one liner
sudo mount -o loop image.iso /mnt
in two steps
sudo losetup /dev/loop0 image.iso
sudo mount /dev/loop0 /mnt
Slices the parts
This will slice the disk image in partitions in /dev/mapper/loop0nX
sudo kpartx -av /dev/loop0