Click to See Complete Forum and Search --> : Unmounting while installing games..


xjimmyx
08-24-2002, 07:02 PM
Is it possible?

This is what I need to do...

I need to install Diablo II but I only have 1 working cd-rom. Diablo II takes 2 cds to install(the bnet version ) Install and Play. Well, I need to put in the Install disc first to run the installer, but then I need to put in the Play disc while the Install disc is still running.

I've tried umounting it while it was running -- but obviously that didn't work...I then tried

# fuser -v /mnt/cdrom

I killed the process, and well...I think we all know what happens when something is killed.

Any ideas on how I can unmount the cdrom while it's running?

Thanks for the help. :-)

bwkaz
08-24-2002, 08:10 PM
What was accessing the directory?

I ask because no OS should let the user eject a CD while a program (installer, in this case) is accessing it, so if Blizzard requires you to do this, that's extremely braindead on their part.

Was it a wine process, or your shell?

If it was your shell, the CD was in use because you were in that directory when you launched wine. If you can change to a directory that wine.conf maps to a drive letter other than the CD drive, then you can try running the installer from there. Then, you should be able to unmount the CD.

If all else fails, you may be able to find a supermount patch for your kernel, but I really don't like supermount... -- and besides, I don't know for sure if that'll work anyway. If the installer still has a lock on the directory, then probably nothing will help. :(

The Whizzard
08-24-2002, 08:32 PM
It's most likely you launched the program from that directory. You should have your CD-ROM mapped in your ~./wine/config. It's usually mapped to D:\. Making sure you're not in the CD-ROM directory, you would then wine 'D:\Setup.exe' or whatever program you need to launch. You should then be able to unmount and insert the other CD as needed.

Icarus
08-26-2002, 03:01 PM
I've heard of a tool called 'SuperMount" that lets you eject a CD while it's still mounted (like Windows), I've heard this is a pain to setup and I don't really trust it...just launch the install from a seperate directory and have another console open to unmount it...

Gaccm
08-27-2002, 02:37 AM
i installed a multi Cd game by doing a massive amount of umount -f and umount -l and umount -n until i could actually open my cdrom drive to put in the 2nd CD.