CentOS 5.1 does not find cdrom nor pendrive after installation
Linux - DistributionsThis 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
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.