Novell Home

Unable to access CD/DVD Drives from Windows applications using Wine/Cedega/CrossOver Office

Novell Cool Solutions: Trench
By Myk Robinson

Digg This - Slashdot This

Posted: 2 May 2005
 

Problem:

Unable to access CD/DVD Drives from Windows applications using Wine/Cedega/CrossOver Office with SUSE Linux Professional 9.3 Professional due to new mounting process.

Solution:

SUSE Linux Professional 9.3 no longer mounts the cd/dvd to /media/cdrecorder or /media/dvdrecorder like previous versions. Instead, it creates a temporary directory based on the identification provided by the DVD. For example, placing a Bourne Identity DVD into the drive will cause the DVD to be mounted to /media/THE_BOURNE_IDENTITY. Wine requires a symbolic link to point to the mount directory. SInce the media now mounts to a temporary directory, a work-around for Wine is this:

  • Navigate to /home/username/.wine/dosdevices. We will use the example of the DVD The Bourne Identity.
  • Open a console in the directory listed above.
  • Create a symbolic link to the temporary directory, and assign it a Windows drive letter like so:
    ln -s /media/THE_BOURNE_IDENTITY f:

This mounts the temporary directory and creates a fake F: drive for wine to be able to access the DVD.

The same principle will work for Cedega and CrossOver Office. You simply need to find the temporary directory name and mount it as a Windows drive letter in the dosdevices directory.

Upon completion of whatever application you needed to load, simply remove the symbolic link, either through the file manager of your choice, or by issuing the following command in the console, assuming you are still in the /home/username/.wine/dosdevices directory:

rm f:

this will remove the file named "f:", which was the fake drive we just created.

Enjoy!


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell