One Day One Cmd

Place for playing with commands…

Day 67: $ Mounting an ISO image

ODOC: We can mount an ISO image without writing any CD/DVD. Also we can do it in two simple commands. So that we can browse for the files, incase some demo CD/DVD provides some guide to use some CD we can view it without Burn into the CD/DVD.

Step 1:
bala@bala-desktop:~$ sudo mkdir -p /mnt/isodir

In the first we are creating a directory name called isodir in mnt directory. For this we have used mkdir command.

Step 2:
bala@bala-desktop:~$ sudo mount -o loop ~/Downloads/Demo.iso /mnt/isodir

In the second step we are mounting the iso in isodir which was created before.
we can create the directory at any place as we need which is not compulsory in creating /mnt/ directory.


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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

%d bloggers like this: