LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-01-2004, 02:36 PM   #1
redbeansnrice
Member
 
Registered: Aug 2004
Location: Eastern Shore
Distribution: Slack 10.1
Posts: 36

Rep: Reputation: 15
2 disc install, can't umount 1st to continue install with 2nd


There is a database app I'm installing from 2 discs. The first disc has the program and part of the data, the 2nd disc has the rest of the data. It gets to a point where it tells me to put in the 2nd disc, but it won't let me umount the drive because the app still has it open.
I tried umount /mnt/cdrom but the device is busy.
If the app shuts down at this point, it says it needs the 1st disc when I try and run the app. Not a very sofisticated piece of work.

Anyone know how I can switch the discs?

Thanks in advance.
 
Old 09-01-2004, 02:43 PM   #2
bobwall
Member
 
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189

Rep: Reputation: 30
Are you sure it's the app that still has it open and not another process that is preventing the umount? KDE is known to not let go of a device even when you're not using it. Do a "lsof" to see which files are being used.
 
Old 09-01-2004, 02:44 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,512

Rep: Reputation: 46
Either you can copy the contents of the 1st or the 2nd cd to your hd and run only 1 cd. I'd copy the 1st and start the install from hd, then, when it asks for the 2nd cd, just load it.
 
Old 09-01-2004, 02:52 PM   #4
redbeansnrice
Member
 
Registered: Aug 2004
Location: Eastern Shore
Distribution: Slack 10.1
Posts: 36

Original Poster
Rep: Reputation: 15
"lsof" ... command not found
copy to hd ... I'll give it a shot, but i don't think I have the option to navigate to a file...it auto-searches the cdrom drive for the disc 1 data
 
Old 09-01-2004, 03:03 PM   #5
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
When I've had 2 or 3 disks install, I've done this:

Open two terminals:

Terminal 1)

$ su
<password>
# mount /mnt/cdrom

Terminal 2)
$ cd /mnt/cdrom
$ ./install

When prompted for disk 2:

Terminal 1)
# umount /mnt/cdrom
<swap disks>
# mount /mnt/cdrom

You may need to copy the installer script / program to /tmp and run it from there

Good luck!

Steve
 
Old 09-01-2004, 03:11 PM   #6
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
What does pwd comand says? If it is /mnt/cdrom you'll have to "cd .." before trying to unmount CD.
 
Old 09-01-2004, 03:14 PM   #7
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
You should never change directory to the mount point, thats generally the primary reason you cant unmount when you need to insert the next disk, your shell is sitting on the mount point.

eg.

this is wrong

mount /dev/cdrom /cdrom
cd /cdrom
./run_some_installer



this is correct

mount /dev/cdrom /cdrom
/cdrom/run_some_installer

HTH

Mad.
 
  


Reply



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
Not prompted to enter admin password during RH9 install...can't continue marvc Linux - Newbie 2 08-25-2005 03:18 PM
1st Linux + 2nd WinXP !!! E@zyVG Linux - General 10 04-02-2005 12:00 PM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 02:38 AM
Linux on 1st windows on 2nd hd... Teclavow Linux - Newbie 1 02-02-2004 06:12 PM
Can't boot 1st OS now after installing 2nd jillyt Linux - Newbie 3 01-05-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration