An ISO image is a disk image file of an optical disc. The format of the disc is defined by the International Organization for Standardization (ISO). ISO 9660
is the most commonly used optical disc file system. An ISO image can also contain UDF file system which is backwards compatible with ISO 9660.
To mount ISO images in Linux, the loop device has to be used. The loop device is a pseudo-device that makes a file accessible as a block device. Loop devices are commonly used to mount CD/DVD and floppy disc images.
Only the root user is able to mount ISO images. To mount an ISO image, run the mount
command as follows.
1 |
root@anfield:~# mount -o loop ubuntu-810.iso /mnt/image |
If you are mounting the ISO image on a system that has the root account disabled by default (eg. Ubuntu), precede the mount command with sudo
.
1 2 |
ibrahim@anfield:~$ sudo mount -o loop ubuntu-810.iso /mnt/image [sudo] password for ibrahim: |
Once mounted, the files within the ISO filesystem will be accessible under the mount point directory.