• Advertisement
Join the IT Notebook

Fedora 10/11 - CDEmu - Installation

Any software title released with a GNU/Linux distribution. Articles are posted in "Linux Distribution - Software Title - Subject" format.

Fedora 10/11 - CDEmu - Installation

Postby lmmtux » Mon Aug 13, 2012 11:10 pm

Since Fedora 10/11 does not include any rpm packages (binary packages) for CDemu, we must download and compile CDemu from the source code. The instructions below will guide you through these steps.

Download packages from sourceforge.net:

  • cdemu-client-1.1.0-1.fc9.src.rpm
  • cdemu-daemon-1.1.0-1.fc9.src.rpm
  • gcdemu-1.1.0-1.fc9.src.rpm
  • dkms-vhba-1.1.0-1.fc9.src.rpm

Install these packages, which are needed to build the source rpms above:

  • dbus-python-devel-0.83.0-3.fc10.i386.rpm
  • gnome-python2-devel-2.22.3-1.fc10.i386.rpm
  • libao-devel-0.8.8-5.fc10.i386.rpm
  • libdaemon-devel-0.13-1.fc10.i386.rpm
  • libmirage-1.1.0-3.fc10.i386.rpm
  • libmirage-devel-1.1.0-3.fc10.i386.rpm
  • libsysfs-2.1.0-4.fc10.i386.rpm
  • libsysfs-devel-2.1.0-4.fc10.i386.rpm
  • dkms-2.0.19.1-1.fc10.noarch.rpm

Build each source rpm downloaded from sourceforge with the command:

Code: Select all
rpmbuild –rebuild rpmfile.src.rpm


The resulting rpm files will be located in: /root/rpmbuild/RPMS/*/*

Install these built rpms with the command "rpm -ivh":

  • cdemu-client-1.1.0-1.fc10.noarch.rpm
  • cdemu-daemon-1.1.0-1.fc10.i386.rpm
  • cdemu-daemon-sysv-1.1.0-1.fc10.i386.rpm
  • gcdemu-1.1.0-1.fc10.noarch.rpm
  • dkms-vhba-1.1.0-1.fc10.noarch.rpm

This finishes getting the kernel module and the whole backend system for this working.


Using CDEmu

You use the "GCDEmu" Gnome applet to manage CDEmu. On your toolbar, simply right-click and select "Add to Panel", and select "GCDEmu" from the list. To mount a CD or DVD image, simply click on the GCDEmu applet and select the entry called "Device 00: Empty", and it will prompt you to select your disc image. After you select it, it will mount the image as a real disc! This also works great for mounting CDs and DVDs for VirtualBox, as CDEmu can mount several different image types. My favorite format is bin/toc (images are kept as a file pair, a .toc file and a .bin file). Use the "cdrdao" utility to create these file pairs, with the command to read the disc in the drive to a file pair:

Code: Select all
cdrdao read-cd --read-raw --device /dev/sr0 data.toc


This will create two files, one called "data.toc" and one called "data.bin". To mount the image with CDEmu, select the data.toc file and CDEmu will mount it.

The “cdemu-daemon” is a SysV daemon that should be set to start when the PC boots by using the ntsysv utility. This needs to be running for the GCDEmu applet to connect and work.

Note: If you upgrade the kernel, you will also need to install the "kernel-devel" package so that the vhba module will install/insert. For instance when upgrading to “kernel-PAE-2.6.27.21-170.2.56.fc10.i686.rpm”, the package “kernel-PAE-devel-2.6.27.21-170.2.56.fc10.i686.rpm” is needed as well. By default, this package will already be installed with a new Fedora installation, unless you manually upgrade the kernel.
lmmtux
 
Posts: 55
Joined: Mon Jul 30, 2012 9:40 pm
Reputation: 0

Return to Linux

cron