LinuxQuestions.org
Help answer threads with 0 replies.
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 11-20-2004, 11:46 PM   #1
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Rep: Reputation: 30
MY cd drive wont open! QUICK


I put a cd in my drive but now i cant get it out! help! It wont open when i press the open button and i dont want to try and force it, can somebody help? is there like an unmaount command
 
Old 11-20-2004, 11:51 PM   #2
Psycho
Member
 
Registered: Feb 2002
Location: Carson City, Nevada
Distribution: Gentoo / SuSE 9.1 Pro (both A64)
Posts: 159

Rep: Reputation: 30
umount /mnt/cdrom Adjust the location to fit...

--glenn
 
Old 11-20-2004, 11:52 PM   #3
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
umount /mnt/cdrom

are you sure it's a problem with the OS?
 
Old 11-21-2004, 03:37 AM   #4
Zuggy
Member
 
Registered: Mar 2004
Location: Pocatello, Idaho, USA
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
When I first started using Fedora Core I had this problem and panicked. It's definitely unmount /mnt/cdrom

Linux doesn't allow mounted disk drives to be removed. Don't ask me why, it just doesn't.
 
Old 11-21-2004, 06:07 AM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
if you have a file browser open, odds are it will tell you the drive is busy., similarly if anything pointing to the drive (or mount point) because you loaded something from it (say a document, which is still open).

Incidentally, that includes (as i still overlook from time to time) the command prompt of the shell, if you are in /mnt/cdrom/ and tell it to umount it won't.
 
Old 11-21-2004, 09:06 AM   #6
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
You can just rightclick the CD icon on the desktop, and select Eject.
 
Old 11-21-2004, 09:59 AM   #7
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
because everyone has a desktop with icons
 
Old 11-21-2004, 11:05 AM   #8
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
If umount /mnt/cdrom (or whatever the location of the drive happens to be) doesn't work, try

Code:
umount -l /mnt/cdrom (or whatever)
This "lazy" unmount will work even if the device is thought to be "busy," while a plain umount won't.
 
Old 11-21-2004, 11:16 AM   #9
Jmcatch742
Member
 
Registered: Jul 2004
Distribution: Mepis, Ubuntu, Slackity slack
Posts: 159

Original Poster
Rep: Reputation: 30
It just always says its busy and i dont have a file manager running! na no icons for me
 
Old 11-21-2004, 11:41 AM   #10
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
check which processes might be using it, and double check you dind't leave a screen session or a shell behind a su cd'd onto the dir.

or you could just force it.
 
Old 11-21-2004, 11:44 AM   #11
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Jmcatch742
It just always says its busy and i dont have a file manager running! na no icons for me
Did you try "umount -l [wherever it is]" and it STILL won't eject after that? It always works for me.
 
Old 11-21-2004, 02:37 PM   #12
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Try "fuser /mnt/cdrom". It will show all processes currently using /mnt/cdrom. Then kill all those processes and try to eject again "eject /mnt/cdrom". Make sure your working dir isn't /mnt/cdrom.
 
  


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
quick starting open office ankscorek Linux - Software 7 08-08-2005 01:21 PM
Quick...Someone Tell Me How To Open a Tar File in .tgz format njschroe Linux - Software 3 06-10-2005 05:58 AM
HOME wont open mrwink Mandriva 1 04-11-2005 02:36 PM
Quick Ksh Script to open a progie ']['HeBroken Programming 1 12-10-2004 07:27 AM
mplayer wont open pasalacqua128 Linux - Software 2 08-25-2004 10:17 AM


All times are GMT -5. The time now is 01:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration