4

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!

8

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.

  • 1
    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
  • 2
    @Kevin Are you sure it's d:: and not just d:? – Zzzach... May 22 '16 at 17:44
  • 1
    Why do you sudo ln -s files in your user's directories? – Christoph Terasa Jun 12 '18 at 23:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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