Red HatThis forum is for the discussion of Red Hat Linux.
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.
I'm using Red Hat Linux 9, and I'm having problems mounting my CD or disk drive. The CD and disk drive both worked when I installed the system; boot disk booted OK, and installation was from CD.
Now that Red Hat is installed, however, it refuses to auto-mount either the disk drive or the CD ROM (data, music, or whatever, it seems to make no difference), and when I try to mount manually from the terminal, I get this:
[root@localhost home]# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: Not a directory
I've seen posts on various other forums from people with what sounds like the exact same problem. I've seen suggestions of a few different permutations on the above mount command. However...
mount /dev/cdrom -t iso9660 /mnt/cdrom
mount /dev/cdrom -t "iso9660" /mnt/cdrom
..both produce the same result.
I've confirmed that /mnt/cdrom is a directory.
My /etc/fstab file looks like this:
I've tried removing "udf" from the /dev/cdrom entry. I get the same result.
All the other threads I've seen for this problem on other forums peter out before a solution is arrived at. But judging from the number of people who apparently experience this, someone must have a solution. Any ideas anyone?
Ive got the same exact problem. I looked at my /etc/fstab and everythin looks like it should but I cannot mount my cdrom or my floppy. If anyone has any suggestions I would apreciate it.
root@test1:/mnt# mount -o ro -t iso9660 /dev/hdc /mnt/cdrom/
mount: Not a directory
I am running Slackware Linux on common PC hardware with IDE drives.
I can boot from the install CD, but when I try to mount the file system things go bad.
/mnt/cdrom/ is definately a directory, by the way.
Well, I wish I could help. I was just thinking when I read this that it doesn't bode well for RedHat Linux or this forum that such a 'common' and 'basic' problem hasn't been addressed.
mount /dev/cdrom -t iso9660 /mnt/cdrom
mount /dev/cdrom -t "iso9660" /mnt/cdrom
..both produce the same result.
I've confirmed that /mnt/cdrom is a directory.
---
So it doesn't matter what is in /etc/fstab, because that file isn't consulted when attempting a mount command which contains both the device filename and the mountpoint.
I was getting a "mount not a directory' message. I tried editing /etc/fstab, and I used hdparm---but I still had the same results. I tried a different cd, and then the cdrom mounted. Evidently, the "mount not a directory" message is the result of a bad disk or one with errors. I hope the helps(smile).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.