LinuxQuestions.org
Visit Jeremy's Blog.
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 08-13-2003, 08:46 AM   #1
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 84

Rep: Reputation: 15
Unhappy CD-ROM drive: DRAWER Lock


Hi,
I'm configuring/troubleshooting RH sound. My cd-rom drawer will not respond to eject either manually or via (desktop) cd-rom player.
I need the proper format for a terminal eject command. This worked once before but I no longer have access to this solution.
After this is solved, what do I do about my unresponsive drawer? Is there a configuration step I'm missing or should I swap it out to see if it's a hardware problem?
THANKS! Kurt
 
Old 08-13-2003, 09:33 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The command to eject a disc from the command line is:
eject



You can optionally also umount it first:
umount /dev/cdrom
And then eject it manually, the thing is it has to be umounted before you can 'unlock' the drawer. eject does that all in full swoop, but that's the only thing I know of that does.

You have to make sure that nothing is accessing the drive at the time, and that no one in is the mounted directory. You can usually do that pretty easy on a single user system, but if you've got multiple people, drop back to init 1 and go from there:
telinit 1
And then run:
eject
As root of course.

Cool
 
  


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
No more CD-ROM drive C-monkey Linux - Hardware 2 09-19-2005 04:55 PM
Odd hard drive activity and lock-ups on laptop using SuSE 9.1 personal tisource Linux - Hardware 0 12-05-2004 07:36 PM
Gnome drawer not working after re-log in slackist Fedora 2 03-04-2004 12:59 AM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 11:58 AM
gnome drawer not working after reboot pk108 Linux - Newbie 0 02-15-2004 08:06 AM


All times are GMT -5. The time now is 03:35 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