|
Linux HowTo's -
Beginner Linux HowTo's
|
|
Written by Allen Sanabria
|
|
Wednesday, 13 August 2008 13:38 |
|
Another quick and dirty HowTo, this time we are showing you how to mount an ISO image under Linux. If you are just getting into Linux you will see that you will have to do this quite often as a Linux Admin/Engineer. In the example below I will use a CentOS ISO Image as an example.
-
Make sure you are root or have root privileges.. Example { "su -" or "sudo su -" }
- Make the directory where you want to mount the image to.. Example { "mkdir /mnt/Centos5_2" }
-
Mount the image under the directory you created under the previous step.. Example { "mount -o loop CentOS-5.2-i386-netinstall.iso /mnt/Centos5_2/" }
- Now you can verify that the ISO image is mounted under /mnt/Centos5_2/... Example { "df -h" or "ls /mnt/Centos5_2/" or "cd /mnt/Centos5_2/" }
So here is the syntax with out the explanation...
- "su -" or "sudo su -"
- "mkdir /mnt/Centos5_2"
- "mount -o loop CentOS-5.2-i386-netinstall.iso /mnt/Centos5_2/"
- "df -h" or "ls /mnt/Centos5_2/" or "cd /mnt/Centos5_2/ and then run a "ls" "
|