mount -o loop disk.img /mnt/img

Category: Administration

mount -o loop disk.img /mnt/img

Mount a disk image file

Attaches the file disk.img as a block device through the loop driver and mounts it at /mnt/img, letting you browse or modify an image without burning it to media. The loop option is inferred automatically on modern systems. Unmount with umount /mnt/img when finished.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.