LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-02-2006, 01:38 PM   #1
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Rep: Reputation: 32
Can not remove CD


Because of a servere problem with knoppix.
http://www.linuxquestions.org/questi...d.php?t=495419

I am having to use linux from hard drive (which is in my DVD drive)

Anyway I can not eject the cd from my CD drive with any linux live cd eg Puppy linux, DSL or Kannotix. Does anyone have any ideas ?
 
Old 11-02-2006, 03:34 PM   #2
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Quote:
Originally Posted by davholla
I am having to use linux from hard drive (which is in my DVD drive)
Your hard drive is in your DVD drive? I'm afraid I don't understand...

Back to the problem, if you're using a Live CD, meaning Linux is running from the CD, I don't imagine you'd want to eject the CD you're running from. Can you be a bit more specific about what you're trying to do?
 
Old 11-02-2006, 06:07 PM   #3
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
As stated by Chromezero you shouldn't eject the CD/DVD in a Live distro, however if that's not what you were trying to say then do this from a terminal:

eject /dev/hdc

where hdc is your CD/DVD drive.

Some distro's may require root to do this.
 
Old 11-03-2006, 07:21 AM   #4
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Original Poster
Rep: Reputation: 32
Sorry about the lack of clarity, I am suffering from flu.

I am running linux from a cd in my DVD drive (because my harddriver is screwed) but the cd in my cd drive is another live cd. This can not be ejected.

Sadly even eject /dev/hdc does not seem to work as root.
 
Old 11-03-2006, 09:55 AM   #5
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Ahhh, now I understand. So, /dev/hdc is your CD-rom that won't open and /dev/hdd is your DVD-rom, that contains the live CD you're actually running. From console, eject /dev/hdc should work. When this isn't working, and pushing eject button on the drive isn't working, I tend to grab a paper clip. About 99% of CD/DVD drives have a small hole on the front panel. If you gently push a paper clip in there, it will force the drive open and generally reset it. You might give that a shot and see what happens.

*Edit*
I forgot to ask, did you unmount the CD drive before trying to eject it?

Last edited by Chromezero; 11-03-2006 at 09:57 AM.
 
Old 11-03-2006, 01:11 PM   #6
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Chromezero
Ahhh, now I understand. So, /dev/hdc is your CD-rom that won't open and /dev/hdd is your DVD-rom, that contains the live CD you're actually running. From console, eject /dev/hdc should work. When this isn't working, and pushing eject button on the drive isn't working, I tend to grab a paper clip. About 99% of CD/DVD drives have a small hole on the front panel. If you gently push a paper clip in there, it will force the drive open and generally reset it. You might give that a shot and see what happens.

*Edit*
I forgot to ask, did you unmount the CD drive before trying to eject it?
Yes I did. I will try the paperclip later.
 
Old 11-05-2006, 01:30 PM   #7
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by Chromezero
Ahhh, now I understand. So, /dev/hdc is your CD-rom that won't open and /dev/hdd is your DVD-rom, that contains the live CD you're actually running. From console, eject /dev/hdc should work. When this isn't working, and pushing eject button on the drive isn't working, I tend to grab a paper clip. About 99% of CD/DVD drives have a small hole on the front panel. If you gently push a paper clip in there, it will force the drive open and generally reset it. You might give that a shot and see what happens.

*Edit*
I forgot to ask, did you unmount the CD drive before trying to eject it?
Sadly that does not work. Any other ideas ?


Yes it does if you push really hard !!! Thanks

Last edited by davholla; 11-05-2006 at 04:28 PM.
 
Old 11-05-2006, 05:36 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Normally I would never recommend this, but you might consider just turning the machine off. If your hard drive is already out of commission then you don't need to worry about any files getting corrupted by a hard shutdown. Once the machine is off, unbend a paperclip and push it into the tiny hole on the front of the CD drive, as others have already said.
 
  


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
Remove ubuntu 5 swhiteguy Ubuntu 2 04-01-2007 06:55 AM
How to - Remove X from already nitrohuffer2001 Linux - Software 2 05-02-2006 01:45 PM
What to Remove Logarithim Slackware 3 05-01-2005 12:24 PM
What can I remove and how?? halo14 Slackware 5 09-23-2004 11:34 AM
Remove everything Rooster14 Linux - Newbie 1 12-21-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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