• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux CD Mounting..

cpals

Diamond Member
Hey, I have a quick question... I'm trying to mount my cdrom in RH 7.2 with no luck. I'm using this command:

mount /mnt/cdrom and also I've tried it the long way with mount iso9660 etc....


Either way gives me this error:
mount: /dev/cdrom is not a valid block device


What's the problem?

Any help is appreciated.

Thanks.
 
What device is your cdrom? /dev/cdrom is just a symlink (pointer) to the real device so more than likely it's pointing to the wrong device.
 
Also, if it helps... this is from fstab:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
 
Also, if it helps... this is from fstab:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
 
Then it would be hdc, type 'ls -l /dev/cdrom' and see if it points to /dev/hdc.

The way Linux names IDE disks is ide 0 master is hda, ide 0 slave is hdb, etc.
 
what I get:

lrwxrwxrwx 1 root root /dev/cdrom -> /dev/hdc


so it looks like that is going to the right place, but it's not working when I try to mount it... and I do have a cd in the cdrom drive.
 
It's just a regular CD-ROM drive and not a DVD-ROM right? And the disc you're putting in is a regualr ISO9660 formatted disc and not UDF (if it's UDF it's probably a DVD).

Type this 'file -s /dev/hdc' and see what it says. If it says permission denied, type 'su -' enter the root password then type it again.
 
Right, regular cd disk... even tried a non cdr and that didn't work.

Typing that gives me this ->

/dev/hdc: can't read '/dev/hdc' (no such device or address)



Sorry for the delay, but AT is running way slow for me.
 
I assume the disk you've installed Linux onto is IDE also, right? First do this type 'dmesg | less' and scroll through the text until you find the part where it finds your hard drive, your CD-ROM should be mentioned around there too, if not make sure the cables are all in good and the BIOS is seeing it too.
 
I might have found the problem... I did that and it found the hard drive and cd drive fine...

...but at the end of the page it says:

ide-floppy driver 0.97
hdc: driver not present


Says that about three times... mean anything?
 
Type 'su -' to become root then type 'modprobe ide-cd' and see if you can mount it after that. ide-cd should be load automagically when you access the device, but it's worth a shot.
 
This was in the log/messages:

insmod: /lib/modules/2.4.7-10/kernel/drivers/ide/ide-cd.o:insmod ide-cd failed


And this happened when I did modprobe:

/lib/modules/2.4.7-10/kernel/drivers/ide/ide-cd.o: unresolved symbol unregister_cdrom_R94f2f104

and then keeps going along those lines..
 
To nothinman,

Thanks for help dude. Since I couldn't update the system without the cd drive I used Red Hat's update program and updated the kernel to the newest one and now the cd drive works... for whatever reason. 🙂

Thanks.
 
Yeah, must be in the cd that way though because I've reinstalled it about 5 times and it kept doing the same thing. Oh well, it works now.
 
Ha! I had the same problem w/ RH 7.2 on this older system at work. I got so tired of it, I installed Mandrake 8.2, and the CD-Rom worked. Go fig. 😛
 
Originally posted by: N11
Grab the latest kernel from Red Hat's Errata and give it a try.

Yeah, that's what I said I did three posts up. It worked too. But it was hard for me to get since I didn't have lynx installed.
 
Originally posted by: cpals
Originally posted by: N11
Grab the latest kernel from Red Hat's Errata and give it a try.

Yeah, that's what I said I did three posts up. It worked too. But it was hard for me to get since I didn't have lynx installed.

Ah yes.

For future reference, in 7.3 they fixed rpm installs so that you can simply do a rpm -Uvh http://etc from the command line with no dependancy on lynx.
 
Cool, I actually moved from 7.3 to 7.2 because some of my friends said that 7.3 was still too new and 7.2 was better for what I needed. It's all working now so I'm not complaining. 🙂
 
Back
Top