Results 1 to 10 of 11
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-13-2009 #1Just 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.
- 04-13-2009 #2
LoL It was most annoying problem for me when, I was new to Wine.
just eject
On Command line.
EDIT:# eject
If you don't have default drive set for eject
# eject /dev/cdrom
- 04-13-2009 #3Just 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
- 04-14-2009 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
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:
But instead you should do:Code:cd /mnt/cdrom wine setup.exe
From any other directory.Code:wine /mnt/cdrom/setup.exe
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.
- 04-14-2009 #5Just 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.
- 04-14-2009 #6Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
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
- 04-14-2009 #7Just 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:~$
- 04-14-2009 #8Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
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.
- 04-14-2009 #9Just Joined!
- Join Date
- Mar 2009
- Location
- Worcestershire
- Posts
- 10
- 04-14-2009 #10Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513


Reply With Quote

