Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 381 Bytes

mount_img.md

File metadata and controls

13 lines (9 loc) · 381 Bytes

Mount img file in Linux

  1. Check 'disk' structure by fdisk -l XXX.img: check image

  2. Calculate the offset: offset = SECTOR_SIZE * START_UNIT The offset in the example: offset = 512 * 8192 and mount it with the parameters:

    sudo mount -t auto -o loop,offset=xxxxx XXX.img /tmp/MOUNT_POINT

    mount image