HowTo Mount an ISO image under Linux
Iso is type of archive file for an optical disk image. This is used worldwide for preserving and distributing Disk images. The name ISO is taken from the ISO 9660 file system used with CD-ROM media.
you can mount ISO images under Linux with the help of loop devices. So as mounting can be done, you can further use them for copy and transfer. Syntax would be
mount -o loop <Iso Image file> <Mount-directory>
Below are the procedure for mounting and using iso files.
Procedure to mount ISO images under Linux
You have to create a directory where you like to mount ISO image or mount in /mnt, if it is not already mounted or used. Then with the help mount command mount ISO image in that directory.
First locate iso image
[root@srv103 ~]# ls -hl CentOS-6.5-x86_64-bin-DVD1.iso -rw-r--r-- 1 root root 4.2G Jul 17 01:42 CentOS-6.5-x86_64-bin-DVD1.iso
Second mount iso image like below
[root@srv103 ~]# mount -o loop CentOS-6.5-x86_64-bin-DVD1.iso /mnt
Now we can see Iso image mounted on local directory as did in above commnad
[root@srv103 ~]# df -hl /mnt Filesystem Size Used Avail Use% Mounted on /root/CentOS-6.5-x86_64-bin-DVD1.iso 4.2G 4.2G 0 100% /mnt
So now, you could see how above we had mount and used ISO image in Linux.
Further you can unmount ISO file with unomunt command
#umount /mnt
Leave a Reply