Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wine > Games on multi CD install

Forgot Password?
 Wine   Discussion about Wine, the Open Source implementation of the Windows API on top of X and Unix.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-13-2009   #1 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Worcestershire
Posts: 10
Games on multi CD install

I am trying to install Call of Duty within Wine. The first disc installs ok but when asked for the second disc I cant eject the first. How do you unmount a cd when linux is telling you it cant unmount because it is being used. Is there an easy way of installing multi CD games??? Many thanks in advance.
hhawaner is offline  


Reply With Quote
Old 04-13-2009   #2 (permalink)
Linux Engineer
 
b2bwild's Avatar
 
Join Date: Jul 2008
Location: Behind You!
Posts: 1,064
Send a message via MSN to b2bwild Send a message via Skype™ to b2bwild
LoL It was most annoying problem for me when, I was new to Wine.
just eject
On Command line.
Quote:
# eject
EDIT:
If you don't have default drive set for eject
Quote:
# eject /dev/cdrom
__________________
Microsoft isn't bad its just stupid.

Read my Blog at --> Penguin Inside Subscribe Feed
b2bwild is offline   Reply With Quote
Old 04-13-2009   #3 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Worcestershire
Posts: 10
Just tried that & this is what I get

scott@scott-desktop:/$ eject /dev/cdrom
umount: /media/cdrom0: device is busy.
(In some cases useful info about processes that use
the device is found by lsof( 8 ) or fuser(1))
eject: unmount of `/media/cdrom0' failed
hhawaner is offline   Reply With Quote
Old 04-14-2009   #4 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by hhawaner View Post
Just tried that & this is what I get

scott@scott-desktop:/$ eject /dev/cdrom
umount: /media/cdrom0: device is busy.
(In some cases useful info about processes that use
the device is found by lsof( 8 ) or fuser(1))
eject: unmount of `/media/cdrom0' failed
When you launch the setup program make sure you don't do it from the same directory. For example, if you mount the cdrom into /mnt/cdrom, you usually would do this:

Code:
cd /mnt/cdrom
wine setup.exe
But instead you should do:

Code:
wine /mnt/cdrom/setup.exe
From any other directory.

The problem is that if you are into /mnt/cdrom then your shell has that directory open. And being the directory just a particular type of file, you can't umount a media while you have a file within it open. Directories are no exception.
i92guboj is offline   Reply With Quote
Old 04-14-2009   #5 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Worcestershire
Posts: 10
Hi there, Thanks for the replies. I have tried to run the setup.exe from home directory but still get the same error when trying to eject the first cdrom any other suggestions please.
hhawaner is offline   Reply With Quote
Old 04-14-2009   #6 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Did you cd to that directory in some other terminal/shell? Maybe a graphical file explorer? If there's anything using the directory at all you can't umount it. You can use lsof to check what's using a given dir:

Code:
lsof /mnt/cdrom
i92guboj is offline   Reply With Quote
Old 04-14-2009   #7 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Worcestershire
Posts: 10
This is the output from lsof command
scott@scott-desktop:~$ lsof /mnt/cdrom
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
wineserve 7258 scott 26r REG 11,0 10149886 3476 /mnt/cdrom/Setup.exe
scott@scott-desktop:~$
hhawaner is offline   Reply With Quote
Old 04-14-2009   #8 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
So it seems it's wine after all.

It's strange because that used to happen some time ago but I haven't noticed that behavior for a long time. What version of wine are you using?

A workaround I used sometimes when this used to happen was to copy the contents of all the cdroms into a single folder in your HD, then you can run the setup from there and just click next when it asks for another disk.
i92guboj is offline   Reply With Quote
Old 04-14-2009   #9 (permalink)
Just Joined!
 
Join Date: Mar 2009
Location: Worcestershire
Posts: 10
Quote:
Originally Posted by i92guboj View Post
So it seems it's wine after all.

It's strange because that used to happen some time ago but I haven't noticed that behavior for a long time. What version of wine are you using?

A workaround I used sometimes when this used to happen was to copy the contents of all the cdroms into a single folder in your HD, then you can run the setup from there and just click next when it asks for another disk.
I was thinking along those lines myself. I currently using Wine Ver 1.0.1
Many thanks for your help
hhawaner is offline   Reply With Quote
Old 04-14-2009   #10 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
Quote:
Originally Posted by hhawaner View Post
I was thinking along those lines myself. I currently using Wine Ver 1.0.1
Many thanks for your help
That's ancient enough.

You should be using 1.1.19 which is the lastest, or a least some 1.1.1x version.
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:59 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2