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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-04-2003, 09:23 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12
Rep:
|
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.
|
|
|
07-04-2003, 09:57 AM
|
#2
|
Member
Registered: Jun 2003
Posts: 56
Rep:
|
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
|
|
|
07-04-2003, 10:05 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12
Original Poster
Rep:
|
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
|
|
|
07-04-2003, 10:12 AM
|
#4
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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
|
|
|
07-04-2003, 10:18 AM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12
Original Poster
Rep:
|
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
|
|
|
07-04-2003, 10:20 AM
|
#6
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
Try this, login as root (in console) and type
umount /dev/cdrom
after this you should be able to open the cdrom manually
|
|
|
07-04-2003, 10:21 AM
|
#7
|
Member
Registered: Jun 2003
Posts: 56
Rep:
|
reboot and tell us
|
|
|
07-04-2003, 10:22 AM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
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.
|
|
|
07-04-2003, 10:23 AM
|
#9
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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 10:24 AM.
|
|
|
07-04-2003, 10:31 AM
|
#10
|
LQ Newbie
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12
Original Poster
Rep:
|
Dear BigJohn,
I tried that but it said: "Unmount: command not found"
Huggy
|
|
|
07-04-2003, 10:32 AM
|
#11
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
its
umount
and not unmount- like i said in my post
|
|
|
07-04-2003, 10:34 AM
|
#12
|
Member
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261
Rep:
|
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
|
|
|
07-04-2003, 10:35 AM
|
#13
|
LQ Newbie
Registered: Jul 2003
Location: China
Distribution: Red Hat 9
Posts: 12
Original Poster
Rep:
|
Dear Jatt_Thugs in Toronto,
Hey, thanks - "umount works". Blessings upon you!
Thank you also to the other contributors.
Huggy (in China)
|
|
|
07-04-2003, 10:38 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
Restart would have solved your problem too but now you know the umount command...eh? You are welcome
|
|
|
07-05-2003, 07:50 AM
|
#15
|
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|