No Account Yet?

You are not logged in.

Add to: JBookmarks Add to: Facebook Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Google Information
How to mount an ISO image under Linux E-mail
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.

  1. Make sure you are root or have root privileges.. Example { "su -" or "sudo su -" }

  2. Make the directory where you want to mount the image to.. Example { "mkdir /mnt/Centos5_2" }

  3. 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/" }

  4. 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...

  1. "su -" or "sudo su -"
  2. "mkdir /mnt/Centos5_2"
  3. "mount -o loop CentOS-5.2-i386-netinstall.iso /mnt/Centos5_2/"
  4. "df -h" or "ls /mnt/Centos5_2/" or "cd /mnt/Centos5_2/ and then run a "ls" "
Comments
Search RSS
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."