Saturday, March 17, 2012
4:12 PM

Emulate CD/DVD Images with CDEmu

I have written a post about Mounty, a simple application which allows us to mount CD/DVD images in Linux. Today, I'd like to write a post about CDEmu. What is CDEmu? Please read this quoted sentence:
CDemu is a software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs) on the Linux operating system.
CDEmu consists of:
  • a kernel module implementing a virtual drive-controller
  • libmirage which is a software library for interpreting optical disc images
  • a daemon which emulates the functionality of an optical drive+disc
  • textmode and GTK clients for controlling the emulator

Installation
Ubuntu users and its derivatives can install CDEmu by typing the following command:
  • sudo add-apt-repository ppa:cdemu/ppa
  • sudo apt-get update
  • sudo apt-get install cdemu-daemon cdemu-client
Once installed, please restart your computer to get CDEmu daemon running or simply run "cdemud" command if you don't want to do so.

Mounting image
In this post, I'll give an example on how to mount image using CDEmu especially with text mode client. Run the following command to mount image with CDEmu:
  • cdemu load 0 myfile.cue
The above command will mount "myfile.cue" into "0" virtual device.

Unmounting image
If you want to unmount recently mounted image (on device "0"), simply type the following command
  • cdemu unload 0
For more commands available, please refer to CDEmu man page by typing "man cdemu" on Terminal.

Regards :)

0 comments:

Post a Comment