Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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 mount -o loop -t iso9660 $HOME/mygame.iso /media/wincd

sudo ln -s $HOME/mygame.iso $HOME/.wine/dosdevices/d::

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

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

You will have to create /media/wincd before anything else

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

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.