LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2004, 08:34 AM   #1
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
Unmounting busy images


Hi,

I was trying to install a game which needs 2 cd's. I've got of both of them an image (I like to play on multiple machines... LAN)

[root@zeus Call of duty]# mount coda01.iso /mnt/iso1 -o loop


This is what I did, it's all OK.

But after the game in question (call of duty) has finished installing from the first cd it requires a second one.

I tried to unmount it like this:

[root@zeus Call of duty]# umount /mnt/iso1
umount: /mnt/iso1: device is busy
umount: /mnt/iso1: device is busy

It seems to be me this isn't really working. How to solve this problem?


Extra info:
i'm using Mandrake 10 and for running the game cedega
 
Old 09-22-2004, 09:05 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

Quote:
[root@zeus Call of duty]# umount /mnt/iso1
umount: /mnt/iso1: device is busy
umount: /mnt/iso1: device is busy

It means that either you have another shell where you are in /mnt/iso1, or the installation process uses a file and so can't umount... I think the second possibility is the rigth one... so to check that do "lsof " and check if files from your iso are still in use

Oliv'
 
Old 09-22-2004, 09:23 AM   #3
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
I guess they are --> the installer is still running.
I just have to 'change the cd' .....

wine 8535 boudewijn mem REG 7,0 10465713 111318 /mnt/iso1/Setup.exe

Setup.exe is indeed running. But to continue the install, I need to change the iso (get a new iso on that mountpoint)

Is this possible?
 
Old 09-22-2004, 09:25 AM   #4
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
umount -l /mnt/iso1

the -l flag is the 'lazy mans' unmount, it basicly disconnects the immage but doesnt accualy unmount it untill everyone is done using it, but noone new can use it once executed. 95% of the time its umounted imediately after you execute that
 
Old 09-22-2004, 09:31 AM   #5
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Well, now it's looking for the cd and it can't find it (switching the iso's worked :+ ).

I'll just burn em on a cd... ;-)
 
Old 09-22-2004, 09:34 AM   #6
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
Sorry i couldn't help
 
Old 09-22-2004, 12:37 PM   #7
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Well, that's no problem. I'd like to thank you for taking a shot on this question (imho I could have googled it a bit too).

By the way; I just tried it using 2 iso's burned on cd (k3b --> burn cd image), but didn't work either. After removing the cd /mnt/cdrom remains empty.

Now I'm trying to merge the 2 cd's.
 
Old 09-22-2004, 12:55 PM   #8
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
That did't work either (it keeps asking for the 2nd cd).

I'm now able to mount the 2nd image without problems (rebooting helps sometimes :+ )

[root@zeus codDVD]# mount /share2/Call\ of\ duty/coda01.iso /mnt/iso1 -o loop
[root@zeus codDVD]# umount /mnt/iso
iso1 iso2 iso3
[root@zeus codDVD]# umount /mnt/iso1/ -l
[root@zeus codDVD]# mount /share2/Call\ of\ duty/codb01.iso /mnt/iso1 -o loop
[root@zeus codDVD]# ls /mnt/iso1
autorun.inf* Launch.exe* Launch.ini* Setup/

According to the last line, the 'cdrom drive' has the 2nd cdrom inserted. But despite of this, the installer is still looking for the 2nd cd.

Does anyone know how to solve this problem?
 
Old 09-23-2004, 07:07 AM   #9
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Has anyone had this problem too?
 
Old 09-23-2004, 07:55 AM   #10
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Make sure when you invoke the installer, you don't have any shells in the same directory. You can use the "lsof" tool to find out what program is keeping the mount locked.
 
Old 09-23-2004, 07:57 AM   #11
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
It was only cedega.....
 
Old 09-23-2004, 08:01 AM   #12
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

maybe u should try out this if something does not work for

to free the mounted device

fuser -k /mnt/iso

/mnt/iso is the path where ur evice is mounted

then unmount /mnt/iso

regards

Last edited by masand; 09-23-2004 at 08:09 AM.
 
Old 09-23-2004, 08:09 AM   #13
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
Yups,

but -k means Kill. (i havent tried yet :+) won't that kill the installer ran by cedega?
 
Old 09-23-2004, 08:11 AM   #14
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

but untill u do not free ur media , u won't be able to unmount it,so worth giving a try

regards
 
Old 09-23-2004, 08:33 AM   #15
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Original Poster
Rep: Reputation: 30
That did work

Although i switched the 'cdrom', I guess cedega and Call of Duty just van work together while installing (COD keeps asking for the damn cd ).
 
  


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
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 10:34 AM
problems mounting and unmounting iso images. Snerkel Linux - Software 5 08-21-2004 06:57 PM
Unmounting busy device AudunJohansen Linux - General 6 06-16-2004 10:48 AM
unmounting busy device burp Slackware 4 11-29-2002 05:54 AM
CD unmounting Paul_assheton Linux - General 14 04-16-2002 02:37 AM


All times are GMT -5. The time now is 11:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration