≡ Menu

Ubuntu Linux Mount an Iso Image

How do I mount an Iso image under Ubuntu Linux?

Under UNIX and Linux like oses a loop device (a pseudo-device) can make a file accessible as a block device. It is is often used for CD / DVD ISO images and floppy disc images. Mounting a file containing a filesystem via such a loop mount makes the files within that filesystem accessible. They appear in the mount point directory.

Mount an ISO Image

Open terminal and create a mount point:
$ sudo mkdir /mnt/iso
If your iso image is at /tmp/file.iso, type the following to mount it:
$ sudo mount -o loop /tmp/file.iso /mnt/iso
To view and copy files from mount iso image:
$ cd /mnt/iso
$ ls -l
$ cp test.txt /tmp

umount – unmount File Systems

To unmount type the command:
$ sudo umount /mnt/iso