LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cdrom will not unmount. (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-will-not-unmount-207890/)

bbmx952 07-21-2004 10:37 AM

cdrom will not unmount.
 
I have been trying to work on getting this to work for some time now but still no luck. What I'm trying to do is get Diablo II installed and when I need to change out disks i issue:

# umount /dev/cdrom

and get:

mount: /mnt/cdrom: device is busy

im not sure whats wrong... Any help would be nice.

rdj 07-21-2004 10:43 AM

You have to start the installation from another directory than /mnt/cdrom/. Try to stand in your home directory and start the installer with wine(x) /mnt/cdrom/setup.exe

bbmx952 07-21-2004 10:55 AM

Nope didn't work, still says device is busy.

rylan76 07-21-2004 11:07 AM

Hi

I have run into this - sometimes it seems to be solved if I wait about a minute and then try again to unmount. Also, make sure that nothing "else" in you system is using the CD-ROM. On my Rh9 system for example, if I insert a CD into the drive under KDE, the CD gets mounted automatically and Konqueror starts up to show me the contents. It is easy to forget that the Konqueror windows is still open and then to try and unmount the drive - which fails of course because umount detects that a process is using the CD (Konqueror) and thus refuses to allow me to unmount. The solution usually is to close the Konqueror session, wait about 30 seconds, and then try to unmount, which usually works.

Maybe you have some process other than the Diablo install accessing the CD and that is why your system refuses to unmount?

SBing 07-21-2004 11:37 AM

Okay, the best way I've found of installing a two disk (or more game) is as follows:

1) Open two terminals
2) In the first, type 'su' and enter your root password when prompted. This terminal is now the 'root' terminal

In the 'root' terminal:

# mount /mnt/cdrom (or as required)

In the second terminal, the 'user' terminal, run the install program.
On disk change, go back to the 'root' terminal:

# umount /mnt/cdrom && eject /mnt/cdrom && sleep 5 && eject -t /mnt/cdrom && mount /mnt/cdrom

(That will give you 5 seconds to change disks before the cdrom driver gobbles it up again, adjust as necessary)

It's always best to copy any install script (such as the UT2k3 install script on disk 3) into /tmp and run it from there.

Good luck, let us know how it gets on!

rdj 07-21-2004 04:02 PM

Hm... You can try to install with install.exe instead of setup.exe.

Komakino 07-21-2004 04:17 PM

You can force an unmount with the -f option.

Tinkster 07-21-2004 04:35 PM

/dev/cdrom is not by any chance the drive you're
running Knoppix off? :)



Cheers,
Tink


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