If you are using the Gnome Desktop Environment and you want to mount an ISO file you can just right click on it and select Open With -> Open with "Archive mounter". Easy eh? However if you have an image file such as .nrg or .img you can't use the Archive Mounter. In this case you need to create a virtual cd/dvd disk in Linux which will take care of the rest. So, let's start.
Mount an ISO image file in Linux through CLI
This is the traditional way for those who like using the command line interface. Fast and easy. Just open a terminal or konsole and type:
su -
mkdir ~/temp
mount -o loop -t iso9660 /path/to/test.iso ~/temp
Now the iso files will be stored in the ~/temp dir. Just remember to change /path/to/test.iso to where you have the .iso file and ~/temp to the directory you want to have it mounted.
To unmount the cd/dvd image type:
su -
umount ~/temp
Note: Ubuntu users should use sudo before the commands. su - command isn't needed in this case.
Create a Virtual CD/DVD Drive in Linux with Furius ISO Mount
First you need to install the packages from here . 0.11.1 is the latest version at this time. If you are using Ubuntu just click on the furiusisomount_0.11.1.0-1_i386.deb or furiusisomount_0.11.1.0-1_amd64.deb depending on which arch you are using and let GDebi Package Installer do the job.
Now go to Applications -> Sound & Video and run Furius ISO Mount. This is the main program window.


Create a Virtual CD/DVD Drive in Linux with CDemu
To install CDemu, gCDemu and the necessary libraries in Ubuntu you must first add en extra repository. Go to System -> Administration -> Software Sources and in the Third-Party Software tab click the add button. Copy and paste in there the following:
For Ubuntu 8.04 Hardy Heron users
deb http://ppa.launchpad.net/cdemu/ubuntu hardy main
For Ubuntu 8.10 Intrepid Ibex users
deb http://ppa.launchpad.net/cdemu/ubuntu intrepid main
Next click the Add Source, Close and Reload buttons. Next open a terminal and type:
sudo apt-get update
sudo apt-get install cdemu-daemon gcdemu
sudo /etc/init.d/cdemu-daemon start
Now reboot. When Ubuntu starts again press Alt-F2 and type:
sudo cdemud-daemon.session
or Logout and Log back in.Finally right click somewhere on the panel and click Add to Panel. Find gCDemu and click the Add button. If you see the applet grey it isn't connected to the daemon. It should be blue-yellow. I had to restart Ubuntu to make gCDemu work properly.
When the applet is active left click on it and select an empty Device. A window will pop up. Browse to the image file and open it. The virtual cd/dvd drive will be created automatically and you will see the contents of the mounted image file. Moreover a cd icon should appear in your screen.

To unmount the device just click on the applet and then select the virtual disk.
You can see some extra options if you left click on the applet and then right click in a virtual cd/dvd. The unload button unmounts the disk.

I hope you liked my Virtual cd/dvd in Linux guide!
Comments (13)
Subscribe to this comment's feedNever set up the root account
sudo mkdir ~/test-iso
sudo mount -o loop -t iso9660 /path/to/test.iso ~/test-iso
and to umount:
sudo umount ~/test-iso
Any reason you have for setting up the root account is based on false security.
...
...
Which distro are you using? Ubuntu? It's the only one I know that makes everything with sudo. In all the other distros I've used you don't have to set up the root account. su - is there by default.
Of course sudo has its issues as Ratte says. I know people using sudo without even a password..
rottyu I know exactly what you mean.
...
I used "cdemu-daemon.session" and it loaded up.
I still, however, cannot get my CDI to load. It seems as if it will, then
cdemu just quits, and I get no CD image on the desktop.
...
...
Mounting volumes
However to create a drive, means also be able to write to it. ISOs however by nature are read-only - one cannot write to them once they were created.
Yes I know how to use mkisofs or author an ISO image the other way but what to do if I wanted to write an audio CD? Say, I wanted to use cdrdao and burn a CD using information from cue/toc files - there is no such thing like mkaudioiso or so. Such thing can only be done to a "real" burner.
CDEmu as a virtual drive was very promising when I first learn about it, but still it can only mount prewritten files.
So what you really wrote about is mounting volumes in Linux. You can call it a drive but very limited one.
Write comment