Skip to content

How to mount an iso image from command line in Linux?

March 9, 2009

We have to mount iso images as  virtual drives especially in order to play some games.To create a virtual drive in windows is too easy because there are lot of programs available out there like Daemon Tools and creating virtual drives with them is simply a cakewalk.You can also create virtual drives in Linux. I will tell you how to mount iso images in Linux from the command line.

In order to mount iso images in Linux, you can use the mount command.But you must log in as root in order to run this command. First, you should have an iso image located somewhere in your hard-disc. I have an iso image named “mydisc.iso” located at home/user/mydisc.iso. So I want to mount it at /media/iso.

To mount iso image do the following:

Type in the command mount-o-loop/home/user/mydisc.iso/media/iso. This will mount mydisc.iso at media/iso.

In order to unmount the iso, you can use the unmount command. To unmount the iso image we have created above simply type in unmount/media/iso.
I hope you have learned something new.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.