trouble using wine + 2-cd sets "cannot eject volume"
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.
trouble using wine + 2-cd sets "cannot eject volume"
I have a number of windows based games that i wish to run under wine but running into a snag.
I'm trying to install Guild Wars. I've first downloaded the gwsetup.exe, opened a gnome terminal, sudo wine gwsetup.exe, completed the first disk install. It now tells me "Please insert disk 2 <ok>". I try to eject the disk on the tower and it reads "Cannot eject volume. An application is preventing the volume 'Guild Wars Disc 1' from being ejected." I try to use Nautilus to *eject* the disk and it gives me the same error. I opened a terminal and tried to umount it "sudo umount /cdrom" and "sudo umount /media/cdrom0" but it just laughed at me.
What am I doing wrong? Why can't I eject the first disk? I've had the same problem last night with CoD and likely will see it with JK3. Any help appreciated. Thanks.
Mmmkay, maybe someone else has had this issue too --
After CoD disk 1 was finished installing it asks for disk 2. From a terminal I typed "wine eject d:". "drive d:" ejected, I removed the disk and replaced it with disk 2. I loaded the disk and here's where it doesn't work. The disk from Nautilus appears to be there because I can read the new disk label "CoD2". But there aren't any files. What am I doing wrong? Do I have to remount the filesystem or something?
Wine is not something you run, you run applications with it. Simply open your applications and Wine should be loaded to run them automatically. You can configure your wine environment by running winecfg, and you can browse your fake windows drive at ~/.wine/drive_c
If you would like a general overview and tutorial about using Wine, you can read the User Guide. For the most part, however, Wine should be as straightforward as clicking the application you'd like to run from your Gnome/KDE/Whatever menu.
When using the terminal there are two valid methods of running applications. The first method is to chdir into the program's folder and then run the application directly, e.g.
cd "~/.wine/drive_c/Games/Tron" && wine tron.exe
The second method should ONLY be used if you are intending to install from something which has multiple CDs (you need to use this method to allow you to swap discs) as it doesn't always work. It consists in using the full Windows path like so...
wine "C:\Games\Tron\tron.exe"
Do NOT run with the full Linux path i.e. "wine /stuff/mygame.exe" or by double clicking icons from your file manager (sometimes this works but more often it will fail with errors of some sort).
This is because Wine passes this path as-is to the windows program in argv[0]. This is exactly what cmd.exe does and Wine has extensive tests for that. However some programs expect fully qualified windows path in argv[0], and break if they don't get it. Lots of programs written with Borland tools will have that problem because Borland mistakenly stated in the manuals that argv[0] will always be set to fully qualified path of the executable. Which is not the case.
If you use Gnome, KDE or XFCE4, then after you have installed some applications in Wine you should notice a Wine subfolder in your main desktop menu with menu entries for all your installed Wine programs (as long as you told them to make Start Menu shortcuts). If any apps seem to be missing try running "wineboot" and looking again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.