Tuesday, 29 October 2013

ISO (International Organization for Standardization) is the image of an optical disc format which comes with
.iso as file extension. If we have ISO image, we don’t want to look for the CDROM or DVD, Instead we can mount the ISO image on LINUX with using loop device. Most of the time when we download any Software or packages or OS that might be ISO images. Without wasting the time for copy the image on other CD/DVD we can read and use the content by mounting the image through loop device.
Please Follow the steps for mounting the ISO images on LINUX server.
Login as root
[root@unixrock /]# id
uid=0(root) gid=0(root) groups=0(root) 
[root@unixrock /]#
Create a mount directory whereever you want
[root@unixrock /]# mkdir /LINUX_ISO
[root@unixrock /]#
I have the ISO image called rhel-server-6.3-x86_64-dvd.iso
[root@unixrock Software]# ls -ltr /mnt/hgfs/Software/rhel-server-6.3-x86_64-dvd.iso
-rwxrwxrwx. 1 root root 3679453184 Oct 23 06:47 /mnt/hgfs/Software/rhel-server-6.3-x86_64-dvd.iso
[root@unixrock Software]#
Mount the ISO image as mentioned below
[root@unixrock Software]# mount -o loop rhel-server-6.3-x86_64-dvd.iso /LINUX_ISO
[root@unixrock Software]#
Thats all Now we are ready to read or copy the content from ISO images.
[root@unixrock Software]# df -h /LINUX_ISO
Filesystem                                        Size  Used Avail Use% Mounted on
/mnt/hgfs/Software/rhel-server-6.3-x86_64-dvd.iso 3.5G  3.5G     0 100% /LINUX_ISO
[root@unixrock Software]#
Thanks for reading this post.