How to create a virtual cd/dvd drive in Linux |
|
|
| Written by axel | |||||||||||||||||||||||||||
|
Many times you want to see the contents of a cd/dvd image file but you don't have or you don't want to spare a cd/dvd disk to burn it. In those cases a virtual cd/dvd drive is very helpful. Windows users have software such as Daemon Tools or Alcohol 120%. However creating a virtual cd/dvd in Linux is also possible and very easy to do as you will see. By cd/dvd image file I mean all those files with extensions like .iso, .nrg, .img, .bin, .cue, .mdf, etc. Below I will saw you a few different methods to choose the one that you prefer for mounting your cd/dvd image files. I 've used Ubuntu Intrepid Ibex 8.10 for this guide but of course you can use any distro you want.
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 CLIThis 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 MountFurius ISO Mount an ISO, IMG, BIN, MDF and NRG Image management utility for the Gnome Desktop Environment. Apart from automatically mounting/unmounting image files in your virtual cd/dvd drive, you can also generate md5 and sha1 checksums.
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.
![]()
To mount an image file e.g. create a virtual cd/dvd drive you can either use the browse button or drag and drop the image file into the window to mount it quickly. A directory will be created in your home directory automatically. You can use the burn button to burn the image file using Brasero. Finally you can unmount it with the Unmount button.
![]()
An easy way to create as many virtual cd/dvd drives in Linux as you want.
Create a Virtual CD/DVD Drive in Linux with CDemuCDemu is a cd/dvd-rom device emulator for Linux. Supported formats are .B6T, .CCD, .CDI, .CUE, .ISO, .MDS, .NRG, .TOC
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 usersdeb 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! Please do not use the comment function to ask for help! If you need help, please use our guides forum .
Did you enjoy this article? Please share it!
Set as favorite
Share This
Email This
Hits: 16738 Trackback(0)
Comments (10)
![]()
Shawn
said:
|
|||||||||||||||||||||||||||
|
Never switch to root account; never set up the root account. The commands should be: 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. |
|
|
report abuse
vote down
vote up
|
Ratte
said:
| To use sudo has its issues with security as well. Hacked successfully that person have one 'password' to alot of PCs on the internet... | |
|
report abuse
vote down
vote up
|
Dustin
said:
|
"cdemud-daemon.session" did not work for me 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. |
|
|
report abuse
vote down
vote up
|
Dustin
said:
| HA! Now I got the CDI to mount, but I had to right-click on a device, and then load it. NOW my problem is even though the image has been mounted, I still cannot access it from Brasero to copy the disk. Please help. Thx in advance! | |
|
report abuse
vote down
vote up
|
Alaa ElSaman
said:
| thanks man very much, it's very useful and well designed. | |
|
report abuse
vote down
vote up
|
Alaa ElSaman
said:
|
in cdemu: at the step of: cdemud-daemon.session you have to restart before it And write sudo |
|
|
report abuse
vote down
vote up
|
Write comment
You must be logged in to a comment. Please register if you do not have an account yet.
| < Prev | Next > |
|---|











