Mount an ISO image on Linux
mount -o loop attaches an ISO to a loop device so its files are readable from a normal directory — no burning or extracting required.
Create a mountpoint (`sudo mkdir -p /mnt/iso`), then run `sudo mount -o loop file.iso /mnt/iso`; read the files, then `sudo umount /mnt/iso`.
01Command
Command
$ sudo mount -o loop ubuntu-24.04.iso /mnt/iso02What it does
The loop device presents the ISO (or any raw disk image, e.g. a Raspberry Pi .img) as a block device, and mount reads the filesystem inside. ISO 9660 is read-only, so nothing inside can be changed. Without root you can achieve the same in GNOME Files or via `udisksctl loop-setup -f file.iso`.
03Risk
!Warning: For a raw disk image containing partitions, use `udisksctl loop-setup` (auto-mounts each partition) or `mount -o loop,offset=<bytes>` with the offset from `fdisk -l`.
04Undo
Undo
$ sudo umount /mnt/iso05Sources
- mount(8) — mount a filesystemEvidence: describes the loop option for mounting image files
- mount(8)Evidence: loop mount usage and examples
Last verified: 2026-09-18 · Category: Files & Folders