LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mounting CD-Rom (https://www.linuxquestions.org/questions/linux-general-1/mounting-cd-rom-9813/)

RecoilUK 12-07-2001 10:35 PM

Mounting CD-Rom
 
Hi guys, hope someone can help me out here.

Just installed REDHAT 7.2 (was previously using Mandrake 8.1) and I am impressed with the speed of it. However, is there a software manager like the one in Mandrake where you can view all programs on the installation cd,s and also how do you mount the cdrom in REDHAT.

I thought the following should work.......

#mount /dev/cdrom

but, I get the following output........?

:mount /dev/cdrom is not a valid block device

whats going on here, as i,m totally stumped

Thx guys

DavidPhillips 12-07-2001 10:46 PM

mount /dev/cdrom


is correct if your fstab is setup that way have a look at it.
/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec,unhide 0 0
you may want auto, it's up to you.



make sure you have /dev/cdrom
[david@Microdot david]$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 Nov 27 00:20 /dev/cdrom -> /dev/hdc



this is not an audio cd is it?


You can not mount an audio cd.

well at least not unless you use audiofs

You can use multimedia software and konquerer has some cool tools for audio cd's it the tree view at the bottom.

RecoilUK 12-08-2001 12:42 AM

Hi/

This is the line in the FSTAB file that I have at the moment.

I was wondering if the differences are whats causing the problems and if so, any idea why REDHAT installs like this?


dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

Thx m8

RecoilUK 12-08-2001 01:40 AM

I tried what you said anyway and rebooted, but i,m still getting the message.

The floppy mounts ok and the drive worked in Mandrake and i,ve just loaded Redhat with it.

Should there be any differences between a normal CDROM and a DVD player in the FSTAB config line in question because thats what it is a PIONEER DVD player.

Thx again

mcleodnine 12-08-2001 01:47 AM

/dev/cdrom is a symlink to the actual name of the device that the CD-ROM is attached to. It could be /dev/hda, hdb, etc... (for IDE devices) or /dev/sda1, sda2, etc... (for SCSI devices _or_ IDE-SCSI devices)

To make the symbolic link you need to know which physical device you're attached to. For a CD-ROM as the master device on the secondary IDE controller
Code:

ln -sf /dev/hdc /dev/cdrom
And for an ATAPI CD-R set up as an ide-scsi device (in lilo.conf)
Code:

ln -sf /dev/scd0 /dev/cdrom

linuxcool 12-08-2001 04:14 AM

As root, try running depmod -ae . Then try mounting it again. Check here for more info.

RecoilUK 12-08-2001 04:44 AM

Hi guys, thx for the help

The depmod -ae worked a treat thx again.

L8rs

linuxcool 12-08-2001 04:59 AM

You're welcome. :D


All times are GMT -5. The time now is 10:45 AM.