Mounting .iso and .mds/mdf Files in Linux –
This page looks best with JavaScript enabled

Mounting .iso and .mds/mdf Files in Linux

 ·   ·  ☕ 2 min read  ·  ✍️ Sathyajith Bhat · 👀... views

There are lots of times where you’d want to mount a CD/DVD image. Say your friend who uses his Windows box has given you a .iso file or a .mds/mdf file, created using Alcohol 120%. How would you mount them in Linux? Using the Terminal and making use of the loop device,there is no need for any external software tools and utlities.

Here’s the steps:

  1. Open the Terminal/Console.
  2. Switch to root user(mounting more often than not requires root privileges, we’ll have a look as to how make media user-mountable later) by typing su root *buntu users and others distros in which the root account is disabled, can skip this step.
  3. Type mount -o loop -t iso9660 /windows/movies/movies.mdf /movies/ For users of distros where root account is disabled(like Ubuntu) prefix sudo to the above. So the command is sudo mount -o loop -t iso9660 /windows/movies/movies.mdf /movies/

If the above command looks confusing,it’s pretty simple! Let’s dissect it.

mount command is pretty obvious, it’s the commnad used for mounting storage media and images of storage media.

-o loop(note that o is the letter o not the numeral zero, ie, 0) instructs the mount command to use the loopback device. -o stands for option, loop indicates loop back device. Intuitive, ain’t it?

-t iso9660 instructs the mount command that the image is of iso9660 format.

The next argument is the path to where the .mdf file is located.

The last argument is the path to which directory the media must be mounted.

The image below shows an example.


If all goes well, you shouldn't be getting any messages, as in the image. For .iso files, the steps are the same, just replace the .mdf file by the .iso file. The above method should work for CloneCD's .ccd and Nero's .nrg files(I remember it worked long time ago, not so sure though, if anyone can confirm this it'd be great!)

Share on

Sathyajith Bhat
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist

What's on this Page