Pages

Tuesday, November 13, 2012

Mounting ISO in CentOS 5.8

Before I used to have troubles mounting my ISO inside my virtual machines because of limited resources as well as other issues(such as low bandwidth connection from my client to my ESXi server). With this issue, I have come up with an idea that I'll just copy my ISO file to my CentOS so I'll save up money buying DVD/CD or save me the trouble of mounting it in my VMware or in my Virtualbox. Or this is just another for me to have a way to access my ISO file inside my Linux machine.

First of we have to locate where we put our ISO.


find /root -name Centos*

As soon as we locate the ISO, we'll go to that directory.
cd /root/Desktop/
 We then create the isoimage directory inside the /mnt directory:
mkdir /mnt/isoimage
 After creating the isoimage directory, mount the centos ISO in the /mnt/isoimage directory:
mount -o loop -t iso9660 Centos\ 5.8.iso /mnt/isoimage/
Your ISO has now been mounted in your directory. To view, go to /mnt/isoimage then type ls to see what's inside your isoimage directory.











After you're done just unmount the /mnt/isoimage directory
# umount /mnt/isoimage

No comments:

Post a Comment