LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-25-2008, 01:10 PM   #1
Pastorino
Member
 
Registered: Jul 2004
Distribution: RHEL 6.2
Posts: 35

Rep: Reputation: 17
CentOS 5.1 does not find cdrom nor pendrive after installation


Hi everyone,

I have been using Red Hat based distributions since RH 7.3. I always install the "base" installation, and then up2date/yum the packets I need for a particular server.

In CentOS 5.1, I perform the "base" installation by selecting only the following packet groups during installation:
  • Base System
    • Base
Well, in other distributions that I used, like Red Hat 7.3, Red Hat 9.0, Fedora Core 1, Fedora Core 3, Fedora Core 6, and Red Hat Enterprise 4, the cdrom is always installed correctly, with mount point /mnt/cdrom or /media/cdrom, depending on the distribution. The /etc/fstab and /etc/mtab files show the cdrom correctly.

Also, on those distributions, when I insert the pendrive, it is detected and the mount point created.

But on CentOS 5.1, the cdrom and pendrive are not detected automatically.

Any clues why?

Cheers.
 
Old 05-02-2008, 04:57 AM   #2
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Quote:
But on CentOS 5.1, the cdrom and pendrive are not detected automatically.
Maybe whatever automounter Cent uses is not installed. Have you checked for it?
 
Old 05-02-2008, 07:49 AM   #3
Pastorino
Member
 
Registered: Jul 2004
Distribution: RHEL 6.2
Posts: 35

Original Poster
Rep: Reputation: 17
Quote:
Maybe whatever automounter Cent uses is not installed. Have you checked for it?
Well, autofs is installed and started.

But I figured it out. I've found this page on Red Hat:

http://www.redhat.com/archives/redha.../msg00185.html

where it says:

Quote:
What are the major changes b/w RHEL4 and RHEL5?
(...)
Removable media is handled differently. There's no more fstab-sync and updating of /etc/fstab file. Likewise, mount points under /media don't seem to be static like in the RHEL4. Instead gnome-mount is used (for both text and graphical interfaces).
So, as it turns out, /etc/fstab must be edited manually on CentOS 5.1 and RHEL5, in case one doesn't want to install gnome-mount and its ridiculous number of dependencies.

Cheers!
 
Old 05-02-2008, 09:29 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Pastorino View Post
So, as it turns out, /etc/fstab must be edited manually on CentOS 5.1 and RHEL5, in case one doesn't want to install gnome-mount and its ridiculous number of dependencies.
Disk-(like) devices are also visible in for instance /dev/disk/by-label, so if you have an USB stick with a partition labelled PENDRIVE it'll show up consistently as /dev/disk/by-label/PENDRIVE. Granted, it's no fstab-sync but at least you can point your fstab line to that and know it'll work. As for CDROM/DVDROM devices Udev should point those to /dev/cdrom and they're also in /dev/disk/by-id.
 
Old 05-02-2008, 04:20 PM   #5
Pastorino
Member
 
Registered: Jul 2004
Distribution: RHEL 6.2
Posts: 35

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by unSpawn View Post
Disk-(like) devices are also visible in for instance /dev/disk/by-label, so if you have an USB stick with a partition labelled PENDRIVE it'll show up consistently as /dev/disk/by-label/PENDRIVE.
Indeed! Thanks for the info. I actually didn't know about this feature. Too many features, so little time to study them all.

Cheers!

Last edited by Pastorino; 05-08-2008 at 11:39 AM.
 
  


Reply



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
PenDrive installation bugs BobSongs Grafpup 2 04-13-2008 07:36 PM
boot installation from Pendrive? LinuxNewbie999 Fedora 5 02-25-2008 06:03 PM
How to install and configure grub on pendrive while os' are on the same pendrive? CeremCem DamnSmallLinux 0 11-07-2006 11:10 AM
Cannot find Linux CDROM on Installation (error) Tammy Conectiva 2 01-20-2004 09:10 AM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:50 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
Open Source Consulting | Domain Registration