LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-04-2003, 10:23 AM   #1
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Rep: Reputation: 0
Can't open CDROM drive


I'm a newbie - just loaded redhat today. Trying to open cdrom drive and it says: only root can unmount / dev/ cdrom from /mnt/ cdrom.
 
Old 07-04-2003, 10:57 AM   #2
vic_cw
Member
 
Registered: Jun 2003
Posts: 56

Rep: Reputation: 15
Hi !! Just tryinna help, but I'm a newbie too.

Is there a CD in your drive?
Can you open it when no OS is launched, or under Windows (if you have it ).

See you.

vic


Long life to Linux
 
Old 07-04-2003, 11:05 AM   #3
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Ther is a CD in the drive, and it opens when using windoze. This is my first time using Linux, and can't open the cdrom drive to get the CD out. I could try closing and rebooting to my Windoze hDD.

Huggy
 
Old 07-04-2003, 11:12 AM   #4
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
Me too a Newbie. This problem usually occurs during a abrupt system shutdown or reboot. Since the file systems, including the hardware exist as "mounted" part of the Linux file tree. If you reboot or shutdown without unmounting for example, the CDROM, it would not usuable.

You might try to reenter the Linux and "poweroff" or shutdown properly in order to let the system unmount the CDROM.

Qu Chen
 
Old 07-04-2003, 11:18 AM   #5
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Hi Qu Chen,
Thank for your reply. I haven't actually shut down yet. I'm not sure what you mean by "poweroff" - I'm really new to this.

Huggy
 
Old 07-04-2003, 11:20 AM   #6
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Try this, login as root (in console) and type
umount /dev/cdrom
after this you should be able to open the cdrom manually
 
Old 07-04-2003, 11:21 AM   #7
vic_cw
Member
 
Registered: Jun 2003
Posts: 56

Rep: Reputation: 15
reboot and tell us
 
Old 07-04-2003, 11:22 AM   #8
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
You dont really need to reboot to open the cdrom. Just type su in console + your root password. Thn the command i typed in my earlier post.
 
Old 07-04-2003, 11:23 AM   #9
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
How did you get the cd into the drive?

Is it data or music?

You could try opening a console (to get the "DOS" like screen that asks for commands) there should either be a icon on the "taskbar" or something on the "start" button menu.

once open, you should have something like "john@localhost.smith ~ or $"

Too this, type su and then enter/return, you should then be asked for the "root password" that you put in when you installed the OS, If I remember correctly, you don't get the password "ghosted" i.e. you don't get ***'s instead of the letters/numbers etc, then return/enter.

the "prompt" should then be something like root@localhost.smith and either # or $ (I can't remember which) then you should try

"unmount /dev/cdrom" or "unmount /mnt/cdrom" or unmount /mnt/dev/cdrom"

one of them should work and just return the # or $ prompt, you should be able to open the drive when it has just gone back to the # or $ prompt

oh, and if my memory is correctly, this is for data cd's only, because you don't "mount" music/audio cd's.

I seem to recall, that if you just boot back into window$ then you end up with an initial boot failure that asks for you to remove the disc and press any key, but then when you go back into the redhat, you might then get questions about "file system integrity checks" and then it takes a while to do the system check. But i don't know whether it would then leave the cdrom "unmounted" or not (I use mandrake not redhat - because I feel that it is a much better "n00b", desktop type distro - and automounts data cd's!)


regards

John

p.s. hope this doesnt sound like "teaching granny too suck eggs!"

Last edited by bigjohn; 07-04-2003 at 11:24 AM.
 
Old 07-04-2003, 11:31 AM   #10
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Dear BigJohn,

I tried that but it said: "Unmount: command not found"

Huggy
 
Old 07-04-2003, 11:32 AM   #11
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
its
umount
and not unmount- like i said in my post
 
Old 07-04-2003, 11:34 AM   #12
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 30
My *great* respect to bigjohn
I also find it useful.

But I think the easist way to solve the problem is to give the system a proper restart.

Hi HuggyBear, if you installed the Linux with Xwindow and Gnome or KDE, you could simply use the sommand $reboot. If you could not use this command, try $shutdown now (I forgot whether this is correct).

Qu Chen
 
Old 07-04-2003, 11:35 AM   #13
HuggyBear
LQ Newbie
 
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0
Dear Jatt_Thugs in Toronto,

Hey, thanks - "umount works". Blessings upon you!
Thank you also to the other contributors.

Huggy (in China)
 
Old 07-04-2003, 11:38 AM   #14
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Restart would have solved your problem too but now you know the umount command...eh? You are welcome
 
Old 07-05-2003, 08:50 AM   #15
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Yeah, sorry about that, I ALWAYS manage to get that wrong - and spend lots of time having to retype it into consoles (well that's when it tells me "dont recognise the command unmount") lol.

The commands that I use (when I manage to type them correctly) are taken from O'really's "running linux". I didn't bother with linux in a nutshel as I have found that the "nutshell" series is really helpful at telling you what you can do, but not how to achieve it!

Also, I seem to recall seeing somewhere a list of commands taken from the O'really books posted at the top of one of the forums that you might find helpful.

regards

John
 
  


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
cdrom will not open... jsheffie Solaris / OpenSolaris 7 11-21-2005 09:04 AM
can't open cdrom! aspartat Linux - Software 7 03-16-2005 12:23 PM
Being able to switch between floppy drive and cdrom drive. apathas Linux - Laptop and Netbook 6 11-09-2003 12:38 PM
How can i open a cdrom in command? wood Linux - General 2 09-03-2003 11:09 PM
cdrom doesn't open?????? i_is_cat Linux - Software 4 06-14-2003 07:47 AM


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