LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-19-2012, 07:11 AM   #1
rakesh1984
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
cdrom problem


hi all,

i am new on to redhat. actually i installed redhat4 on my server and it is working fine.
the cdrom is also detected and its reading the cds. however when i tried to write the cd it simply showing the destination folder is read only.
i changed the permission for cdrom by chmod 777 still the same result.
then i tried to mount my device by mount /dev/hdo /media/cdrom but it is showing no medium found.
how to solve the problem, please help in sorting out the problem.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-19-2012, 10:50 AM   #2
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Rep: Reputation: Disabled
Try do everything as root, thats what I do and I chmod my entire filesystem with a a+rwx

Linux distros to me are like jenga blocks, at first its awesome but as you use it and install/modify it, its like pieces fall out and than you end up reinstalling the whole os again after it "topples"... meh
 
Old 03-19-2012, 12:28 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by rakesh1984 View Post
hi all,
i am new on to redhat. actually i installed redhat4 on my server and it is working fine.
the cdrom is also detected and its reading the cds. however when i tried to write the cd it simply showing the destination folder is read only.
i changed the permission for cdrom by chmod 777 still the same result.
then i tried to mount my device by mount /dev/hdo /media/cdrom but it is showing no medium found.
how to solve the problem, please help in sorting out the problem.
First, do you mean RedHat 4, or RedHat ENTERPRISE 4?? Both are old, but RH4 is *ANCIENT*. Second, RHEL4 is a PAY FOR version of Linux...if you're not going to pay for it, don't use it. If you ARE paying for RHEL, then load the latest version, which is 6. You're already two versions behind.

And you changed the permission of the cdrom device...but you're not reading that, you're reading the MOUNT POINT. You have to change the permissions of the /media/cdrom directory.
 
Old 03-19-2012, 12:31 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by Master_CAPS View Post
Try do everything as root, thats what I do and I chmod my entire filesystem with a a+rwx

Linux distros to me are like jenga blocks, at first its awesome but as you use it and install/modify it, its like pieces fall out and than you end up reinstalling the whole os again after it "topples"... meh
This is, by far, the WORST advice I have EVER heard.

You shouldn't do ANYTHING as root, unless you have no other choice. And if you typically run as root, and modify your system as you say, it's very little wonder that you have problems after the OS 'topples'.

Telling someone inexperienced to run as root and do that chmod is very irresponsible.
 
4 members found this post helpful.
Old 03-19-2012, 01:11 PM   #5
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
After mounting the CD on /media/cdrom, what's the output of fdisk -l, post it.
 
Old 03-19-2012, 03:27 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by Master_CAPS View Post
Try do everything as root, thats what I do and I chmod my entire filesystem with a a+rwx

Linux distros to me are like jenga blocks, at first its awesome but as you use it and install/modify it, its like pieces fall out and than you end up reinstalling the whole os again after it "topples"... meh
Ummm PEOPLE, what ever you do, DON'T listen to this advice; it's poor, dangerous,
and utterly stupid. In fact making everything a+rwx will break a lot of programs,
because some coders are sane enough to anticipate such idiocy and make their code
so it refuses to run if installed on a morons machine.




Cheers,
Tink
 
3 members found this post helpful.
Old 03-20-2012, 08:54 PM   #7
Master_CAPS
Member
 
Registered: Mar 2012
Location: I live at ::1 usually...
Distribution: Yes.
Posts: 55

Rep: Reputation: Disabled
humm i guess it is bad advice,
 
Old 03-21-2012, 02:08 AM   #8
zeeone
LQ Newbie
 
Registered: Apr 2003
Location: Third Stone From The Sun
Distribution: Linux
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by Master_CAPS View Post
humm i guess it is bad advice,

No, now you and anyone reading this post KNOWS it is bad advice.
 
Old 03-21-2012, 02:49 AM   #9
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Is the CD ROM getting detected in the first place. Do a `dmesg` and provide the output.

--
Prasanta
 
Old 03-21-2012, 11:08 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,956

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by prasanta View Post
Is the CD ROM getting detected in the first place. Do a `dmesg` and provide the output.
The OP said in their first post that the device was detected and reading CD's.
 
Old 03-21-2012, 07:22 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Can I point out (as an aside), that if this is RHEL 4 (assume it is: RH4 wouldn't be able to handle CDs I think), then it is officially out of support from RH, unless you pay extra for extended support
http://www.redhat.com/security/updates/errata/
 
Old 03-21-2012, 08:18 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
also the OP has not been back ,yet, in 2.5 days
so it must not be too important on a "mostly" EOL RHEL4
 
  


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 mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
cdrom problem brownflamigo1 Linux - Hardware 4 08-23-2007 05:42 AM
CDROM problem suavecu Linux - Software 4 04-12-2006 07:54 PM
Problem with cdrom mediolanum Linux - Hardware 2 04-18-2005 06:24 PM
cdrom problem holyroguespy Linux - Newbie 3 04-04-2002 09:41 PM


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