How to Mount ISO File on Linux

An ISO file is an archive file that typically contains the complete image of a CD or DVD. For example, most operating systems such as Windows, Linux, and macOS are distributed as ISO images.
ISO files can be extracted using popular archive programs, mounted on a loop device, and written to a USB flash drive or blank CD disc.
When you mount an ISO, Linux exposes its contents as a read-only filesystem. The files are not extracted or modified in place.
In this tutorial, we will explain how to mount ISO files on Linux.
Quick Reference
| Task | Command |
|---|---|
| Create a mount point | sudo mkdir -p /media/iso |
| Mount an ISO file | sudo mount -o loop,ro /path/to/image.iso /media/iso |
| List ISO contents | ls /media/iso |
| Unmount the ISO | sudo umount /media/iso |
How to Mount ISO Files using the Command Line
The mount
command allows you to attach (mount) ISO files at a particular mount point in the directory tree.
The instructions in this section work on any Linux distribution.
Start by creating the mount point, it can be any location you want:
Terminalsudo mkdir -p /media/isoMount the ISO file to the mount point by typing the following
mountcommand:Terminalsudo mount -o loop,ro /path/to/image.iso /media/isoThe
-o loop,rooptions tell the command to map a loop device to the specified ISO file and mount it read-only at the chosen mount point.Replace
/path/to/image.isowith the path to your ISO file.To view the ISO image content, use the
lscommand:Terminalls /media/isoYou can also open a file manager to view the ISO contents.
Unmount the ISO file by using the
umountcommand followed by the directory where the image has been mounted:Terminalsudo umount /media/isoIf the file system is in use, the
umountcommand will fail to detach the file system.
Mounting ISO Files using GNOME
If you are running a Linux distribution that uses GNOME as the desktop environment, you can mount an ISO file using the GNOME’s disk image mounter application.
Locate the ISO file that you want to mount, and right-click on it. In the context menu, click on the “Open With Disk Image Mounter” option.

Once the image is mounted, a device icon should appear on the desktop. Double-click on it and the GNOME file manager will open up.
To unmount the ISO file right click on the device icon and select “Unmount”.
Troubleshooting
mount: could not find any free loop device
All available loop devices are in use. Run losetup -a to see which are active. You can free one with sudo losetup -d /dev/loopN, or increase the number of available loop devices by loading the module with sudo modprobe loop max_loop=16.
umount: target is busy
A process is still accessing the mounted ISO. Close any open files or terminal sessions inside the mount point, then retry. Use lsof +D /media/iso to identify which process is holding it open.
mount: wrong fs type, bad option, bad superblock
The ISO file may be corrupted or the path is incorrect. Verify the file with file /path/to/image.iso — it should report ISO 9660 CD-ROM filesystem data. Re-download the image if it is damaged.
FAQ
What does mounting an ISO mean?
Mounting makes the contents of an ISO file accessible as if it were a physical disc inserted into a drive. The ISO is attached to a loop device, which the system treats like a block device, and its filesystem is made available at the mount point you specify.
Is the mount permanent after a reboot?
No. Mounts created with the mount command are temporary and do not survive a reboot. To mount an ISO automatically at boot, add an entry to /etc/fstab: /path/to/image.iso /media/iso iso9660 loop,ro 0 0.
Can I write to a mounted ISO?
No. ISO 9660 is a read-only filesystem. You can read and copy files from a mounted ISO, but you cannot modify its contents in place.
What is the -o loop option?
It tells mount to attach the ISO file to a loop device — a virtual block device that maps to a regular file. Without it, mount would treat the path as a physical device rather than a file.
Conclusion
In Linux, you can mount ISO files with the mount command using the -o loop option. Desktop users running GNOME can use the Disk Image Mounter for a graphical approach. To mount other filesystem types
such as network shares or external drives, the same mount command applies with different options.
Tags
Linuxize Weekly Newsletter
A quick weekly roundup of new tutorials, news, and tips.
About the authors

Dejan Panovski
Dejan Panovski is the founder of Linuxize, an RHCSA-certified Linux system administrator and DevOps engineer based in Skopje, Macedonia. Author of 800+ Linux tutorials with 20+ years of experience turning complex Linux tasks into clear, reliable guides.
View author page