wine says success but complains there is no CD in drive
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
wine says success but complains there is no CD in drive
I have installed wine in Debian (Sid) and it appears to be working. I want to run a program which is on a CD. I mount the CD and try to run the program and wine says it has "success" but also a window comes up saying "CD not found. Please insert publication CD."
Is there any way to get this working? I tried copying the relevant exe file to my hard disk but the same message appears. Some protection dodge perhaps?
Did u set up the CD-drive correctly in your wine config file?
I can't quite figure out from your mail if you are experimented with wine before or not. Incase you are a newbie, then the easiest way to setup wine would be through wine-tools. http://www.von-thadden.de/Joachim/WineTools/
Once you install wine-tools, first do a basic wine setup. After asking couple of questions, it will setup the CD drive correctly.
Basically, windows expect a CD-drive to be called D: or E: etc.. i.e. as a seperate drive. Whereas in linux your cd-drive is just another directory in your filesystem (/mnt/cdrom etc). So in wine-config you will have explicitly specify that /mnt/cdrom should be interpretted a D:.
Wine-tools gives you a menu-driven interface which will help you do this.
Originally posted by anandj Did u set up the CD-drive correctly in your wine config file?
I can't quite figure out from your mail if you are experimented with wine before or not. Incase you are a newbie, then the easiest way to setup wine would be through wine-tools. http://www.von-thadden.de/Joachim/WineTools/
Once you install wine-tools, first do a basic wine setup. After asking couple of questions, it will setup the CD drive correctly.
Basically, windows expect a CD-drive to be called D: or E: etc.. i.e. as a seperate drive. Whereas in linux your cd-drive is just another directory in your filesystem (/mnt/cdrom etc). So in wine-config you will have explicitly specify that /mnt/cdrom should be interpretted a D:.
Wine-tools gives you a menu-driven interface which will help you do this.
Yes, I think it is set up correctly. In the config file I have:
lrwxrwxrwx 1 ac ac 8 2005-07-11 14:30 a:: -> /dev/fd0
lrwxrwxrwx 1 ac ac 10 2005-07-11 14:27 c: -> ../drive_c/
lrwxrwxrwx 1 ac ac 10 2005-07-11 14:51 cdrom -> /dev/cdrom
lrwxrwxrwx 1 ac ac 8 2005-07-11 14:30 e:: -> /dev/hdc
lrwxrwxrwx 1 ac ac 1 2005-07-11 14:27 z: -> //
What command should I use to run the program? I've tried:
Which version of wine are you using?
Most recent versions of wine do not require those entires in the config file. Instead they require you to put correct links in the dosdevices directory.
You have put a link to /dev/cdrom
I would remove it and put
ln -s /cdrom d:
Try if that works.
(/cdrom should also be mounted).
That should work.. however if for some reason that doesn't work, I would repeat my original suggestion.
Try wine tools.
It would def fix all these issues.
Originally posted by anandj ahh.. the cd drive is not identified correctly.
Which version of wine are you using?
Most recent versions of wine do not require those entires in the config file. Instead they require you to put correct links in the dosdevices directory.
You have put a link to /dev/cdrom
I would remove it and put
ln -s /cdrom d:
Try if that works.
(/cdrom should also be mounted).
That should work.. however if for some reason that doesn't work, I would repeat my original suggestion.
Try wine tools.
It would def fix all these issues.
I took your advice and installed wine tools. It produced progress of a sort: instead of the error about the CD, it said that various libraries are missing which are needed by the program (ole32.dll, shlwapi.dll, shell32.dll, avifil32.dll, comdlg32.dll, oleaut32.dll ...).
I've no idea about any of these or where or how to install them, so I think I shall have to give up on this.
I've got dcom98 but now it's gone back to saying that the CD is not there.
I don't know if the GLX missing has anything to do with it. GLX doesn't work with my card.
ac:~:$ wine /cdrom/Points.exe
Invoking /usr/lib/wine/wine.bin /cdrom/Points.exe ...
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00010024,00000008)
fixme:avifile:AVIFileInit (): stub!
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00000000,00000008)
Wine exited with a successful status
Originally posted by acampbell I've got dcom98 but now it's gone back to saying that the CD is not there.
I don't know if the GLX missing has anything to do with it. GLX doesn't work with my card.
ac:~:$ wine /cdrom/Points.exe
Invoking /usr/lib/wine/wine.bin /cdrom/Points.exe ...
Xlib: extension "GLX" missing on display ":0.0".
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00010024,00000008)
fixme:avifile:AVIFileInit (): stub!
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77c6eda0)->(00000000,00000008)
Wine exited with a successful status
A follow-up: I was away for 12 days and while I was away tried again on a laptop. I did get the program to run, sort of, by changing to the cd directory first. However, the program was unacceptably slow so it wasn't much use anywaty.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.