LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-28-2007, 03:19 PM   #1
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
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.
 
Old 10-28-2007, 04:01 PM   #2
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
Found it.

wine eject n:

where n is the name of the optical drive. My system has two opticals so it would either be d: or e:.


http://wiki.winehq.org/ListofCommands
 
Old 10-29-2007, 05:53 PM   #3
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
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?
 
Old 11-01-2007, 09:42 AM   #4
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
I found a bunch of Loki installers that takes care of the majority of these troubles. Call of Duty single and multiplayer work great.
 
Old 11-02-2007, 09:16 AM   #5
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Original Poster
Rep: Reputation: 30
How do I run Wine?

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"unable to eject" error when trying to safely remove ipod shuffle in slack 12 mattydee Slackware 10 07-06-2007 05:03 PM
Gnome, Shortcut for "headphones" instead of "volume" Bollie Linux - General 2 06-07-2007 09:19 PM
"Wine" starts loading... then quits... Can't install ".exe" jabber32 Linux - Software 1 01-10-2007 06:06 AM
Toggling "eject" and "eject -t" daihard Linux - Software 3 12-27-2004 03:01 AM
Trouble with Wine and "The Sims" enigma Z Linux - Software 3 09-15-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration