==== Mount .img partitions to separate loops so you can mount any partition inside image ==== $ sudo kpartx -v -a file.iso add map loop0p1 (253:17): 0 8382464 linear 7:1 2048 $ mount /dev/mapper/loop0p1 ./mnt_point ... do something with the partition ... $ umount ./mnt_point $ kpartx -d -v file.iso del devmap : loop0p1 loop deleted : /dev/loop0 Source: https://superuser.com/questions/211338/how-to-mount-a-multi-partition-disk-image-in-linux