Monday, October 14

How to Mount an ISO Image in Linux RHEL/CentOS


        ISO stands for International Organization for Standardization ,In simple terms iso file is a disk image. ISO files are typically used to distribute the operating system. Most of the linux  (rhel,centos,etc..) operating system that you download will be on ISO format. ISO image files typically have a file extension of .ISO. The name “ISO” is taken from the ISO 9660 file system used with CD-ROM media.

Read Also : How to Mount Windows NTFS Partition in Linux RHEL/CentOS

How do you mount an ISO image under Linux? You need to use mount command as follows:

Mount ISO Image under Linux RHEL/CentOS:

  Syntax :  # mount -o loop  iso-file   Mount-Point 

Create Mount point Directory :

     #mkdir  /mnt/mountdisk

Mount iso-file to /mnt/mountdisk :

    # mount -o loop  /downloads/CentOS-6.4-x86_64-bin-DVD1.iso  /mnt/mountdisk

Change directory to list files stored inside an ISO image:

    #cd /mnt/mountdisk

    #ls -l 
  (To see the list of files an ISO Image)

Unmount an ISO Image :

   # unmount /mnt/mountdisk


No comments:

Post a Comment

:: Linux - Legends ::