LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2001, 10:35 PM   #1
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
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
 
Old 12-07-2001, 10:46 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.

Last edited by DavidPhillips; 12-07-2001 at 10:48 PM.
 
Old 12-08-2001, 12:42 AM   #3
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 12-08-2001, 01:40 AM   #4
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
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
 
Old 12-08-2001, 01:47 AM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
/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
 
Old 12-08-2001, 04:14 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

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

Last edited by linuxcool; 12-08-2001 at 04:20 AM.
 
Old 12-08-2001, 04:44 AM   #7
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Original Poster
Rep: Reputation: 30
Hi guys, thx for the help

The depmod -ae worked a treat thx again.

L8rs
 
Old 12-08-2001, 04:59 AM   #8
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cd rom not mounting mio_carpe Slackware 7 01-30-2005 10:20 AM
CD-ROM Mounting carlgulliver100 Linux - Hardware 1 07-04-2004 04:15 PM
CD-Rom mounting.. colabus Linux - Software 11 05-07-2004 11:00 AM
mounting cd-rom dvd-rom and cd-rw antoweb Mandriva 4 12-04-2003 10:37 AM
CD-ROM Mounting Pete Linux - Software 2 06-12-2001 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration