Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Okay, so I installed Wine, and installed the first StarCraft, but when I try to run it, it tells me that the cd isn't in the cdrom drive (but it's already in there) and asks me to insert it. So, I did some searching, and I found out that I need to setup a cdrom drive in Wine, but when I autodetect for drives, it doesn't find the cdrom drive (it does show drive D, but it doesn't say that it's a cdrom drive). So, does anyone know how I can find/setup a cdrom drive? Thanks!

share|improve this question
up vote 5 down vote accepted

Set wine to see /media/wincd as its cd drive then with the iso file in you home folder run in terminal:

sudo mkdir /media/wincd
sudo mount -o loop -t iso9660 $HOME/mygame.iso /media/wincd
sudo ln -s $HOME/mygame.iso $HOME/.wine/dosdevices/d::

The mkdir command ensures the /media/wincd folder is present to mount the iso.

Change mygame.iso to the name of your iso file.

Change d:: at the end of the second command to a different letter with two colons if the cd is not drive d.

share|improve this answer
Use wine config to create the drive in wine that points /media/wincd – Kevin Aug 1 '11 at 2:18
If you want it to point to a physical CD instead of an ISO then use show advanced in wine config, That will allow you to tell wine it is a CD-ROM. I have had much better luck with ISO images. – Kevin Aug 1 '11 at 2:23
How do you set /media/wincd as its cd drive? And how do you know that a drive is the cd drive (because, right now, it's saying that D is /home)? – Wolf Aug 1 '11 at 2:49
1. On the “Drives” tab in winecfg choose “Add” and select a drive letter. 2. Click “Browse” and browse to /media/wincd 3. Click “Show Advanced” and in the type drop down select “CD-ROM” 4. Click “Apply” – Kevin Aug 1 '11 at 4:00
@Kevin Are you sure it's d:: and not just d:? – Zzzach... May 22 at 17:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.