Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've managed to get redhat 7.2. The point is, when I want to mount the cdrom using "mount /dev/cdrom /mnt/cdrom", the console shows me this error: "mount: /dev/cdrom is not a valid block device".
Now; I checked my /etc/fstab file and the place that's meant to have the cdrom configuration reads this: "/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0". Shall I change this so it reads /dev/hdc /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0" (which is my cdrom drive).
Thanks, but the problem is still one. When I boot my computer I can read something like this: "hdc (model of my cdrom drive)"; Just finished to configure /etc/fstab with the entry hdc as cdrom drive, but I get no response and I get the same error "hdc is not a valid block device".
For future reference try running "modprobe cdrom". You should be able to mount your cdrom drive after this command. Of course, you have to do this everytime you reboot so it is not the ideal solution. Seems like a RH7.2 bug.
I was having the same issues with Redhat 7.2, I have tried tweaking fstab a couple of times, setting the file system to auto, and changing the link to /dev/hdc. Anyways.. point is after running modprobe I was able to mount my cdrom.
[root@jihad-75h6sw75s etc]# mount /dev/hdc /mnt/cdrom
mount: /dev/hdc is not a valid block device
[root@jihad-75h6sw75s etc]# mount /dev/cdrom /mnt/cdrom
mount: /dev/cdrom is not a valid block device
Cheese, the following two lines of your fstab file are incorrect:
/dev/cdrom /mnt/cdrom auto auto noauto,owner,kudzu,ro 0 0
/dev/hdc /mnt/cdrom auto iso9660,noauto,owner,kudzuro 0 0
They should look like this:
/dev/cdrom /mnt/cdrom auto noauto,owner,kudzu,ro 0 0
/dev/hdc /mnt/cdrom auto noauto,owner,kudzu,ro 0 0
You should need only one of those lines if you have only one cdrom drive. If your cdrom drive is connected as secondary master, then use the second line. The first line has ' /dev/cdrom ' in it. That is usually a symbolic link to a device. It's probably pointing to /dev/hdc. You can get rid of it if the second line allows you to mount your cdrom drive.
Try this first: mount -t iso9660 /dev/hdc /mnt/cdrom . If this works, then the second line is the one to use.