Mounting an iso image is very simple and this simple tutorials explains you how to mount an iso image under a directory in linux. An ISO image is an archive file of an optical disc. ISO images can be created from compact disc , certain collection of files and directories by using ISO image creating softwares. The software bootable disc are avail in ISO images. the extension of the image is    .iso .

Now i will explain you how to mount an iso image under a directory. Here i am having an image file ” centos.iso ” and i like to mount this image file under /mnt/image

You need login as super user ( root user ) to mount the file system. To login as root user, follow the below command

$ su -

Now create a directory under /mnt to mount the iso file.

# mkdir /mnt/media -p

Mount the iso file

# mount -o loop ~/Downloads/centos.iso /mnt/media

Check the mounted files now

# ls -l /mnt/media/

How to remove the mounted iso image

umount is the command used to remove the mounted image or mounted directories. The following will remove the mounted media.

# umount /mnt/media

Related articles


Subscribe Our Free Newsletter

Delivered by FeedBurner. We Respect Your Privacy

Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>