Originally Posted by iamharpreet
mount -o loop file.img /mnt/somewhere
To mount img files, you need to know the offset value. Once you know the offset value, you just need to add a minor change to the code above
mount -o loop,offset=value file.img /mnt/somewhere
Watch this youtube video. This person shows how to mount an img file. I tried this when I had trouble mounting an img file in the past and it works.
The topic of this video is chrooting into an img file, but you just need to watch up to 6 minutes to see how he gets the offset value for the img file
. The remaining minutes of the video is chrooting the img file which you do not need.