LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cd won't eject in linux (https://www.linuxquestions.org/questions/linux-newbie-8/cd-wont-eject-in-linux-209900/)

webazoid 07-26-2004 02:29 PM

cd won't eject in linux
 
i've been having a problem recently where my cd drive won't eject stuff while in linux. if i reboot and press eject, it works. i can read data from the cd's/copy to hd but if i try to eject it, nutting happens till i reboot and press eject during reboot. rlight click to eject fails. it ejects fine in windows. any ideas?

Andrew Benton 07-26-2004 03:10 PM

Did you umount the CD before you tried to eject it?

SciYro 07-26-2004 03:48 PM

type in "eject"
at the prompt, works for me if the cdrom wont eject by itself, tho its probably like Andrew said ... those devices lockup when they are in use (for good reason to I'm sure)

tho this tread should probably be in Linux - General or Linux - Newbie and not in website questions forum ...... tho i could be wrong

Ebel 07-26-2004 04:18 PM

If you are using GNOME, and there is a CD icon on your desktop, you can right click on it and select eject.

shengchieh 07-26-2004 04:19 PM

What distribution are you using?

For Xandros (which I use), I have to hit
"eject CD" in "Home" file manager
(like My Computer" in M$ Window).

Ejecting CDs may be districution specific.

Try going into your file manager first
and if there is an "eject CD" somewhere.
If failed, give us your distribution name.

Sheng-Chieh

Corona4456 07-26-2004 04:20 PM

best way to do it though is what Andrew said:
umount /path/to/cdrom/mount/directory
only thing is you have to be root.

SciYro 07-26-2004 04:55 PM

Corona4456: not if its setup so users can both mount and unmount the device .... look thru /etc/fstab where you can set things up so users have the power to mount and unmount devices like cdroms (works over here)

michaelk 07-26-2004 06:11 PM

Make sure that no applications are accessing the drive before you try to eject including file browsers and console windows. You might have to unmount the drive before ejecting.

coffeedemon 07-26-2004 06:21 PM

i was having the same problem. "eject /cdrom*" worked.

Corona4456 07-26-2004 06:34 PM

Quote:

Originally posted by SciYro
Corona4456: not if its setup so users can both mount and unmount the device .... look thru /etc/fstab where you can set things up so users have the power to mount and unmount devices like cdroms (works over here)
That's true... I was just trying to be quick and simple ... heh thanks for pointing it out :)

webazoid 07-26-2004 06:52 PM

whoops...sorry bout posting in the wrong forum...

anyways, thanks for the 'unmount' tip. i'm using mdk 10/kde and right clicking unmount first allows me to eject. i'll have to look into the other settings to allow me to automatically eject (i used to be able to just press the button).


All times are GMT -5. The time now is 03:32 PM.