Top Menu

Sunday, June 2, 2013

How to mount ISO file under Linux

An ISO image is an archive file of an optical disc, the disk image is composed of the data contents of every written sector of optical disc. It has typically file extension of .ISO which file system used with CD-ROM media. You can mount an ISO image into Linux box using loop device. Here I'm showing you steps which you need to follow.

Procedure

1. You need to login as root, if you are not root, then switch to root user using following command:

[sourav@redhat01~]$su –

      2. Create a mount point directory.
 
[root@redhat01~]#mkdir –p /mnt/iso_disk

3. Run mount command with loop option to mount into the newly created mount point.

[root@redhat01~]#mount –o loop disk_file_path.iso /mnt/iso_disk

     4. List directory files which are stored inside the ISO image.
 
[root@redhat01~]#ls –l /mnt/iso_disk