LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem: Unable to mount CD-ROM (https://www.linuxquestions.org/questions/linux-newbie-8/problem-unable-to-mount-cd-rom-26019/)

Tayl 07-17-2002 08:58 PM

Problem: Unable to mount CD-ROM
 
Ok, here is what I was trying to do, and the resulting error message(I'm doing this as root):

-----------------------------------------
# mount -t iso9660 /dev/hda /mnt/cdrom

# mount : wrong fs type, bad option, bad superblock on /dev/hda, or too many mounted filesystems
----------------------------------------------------

Ok, I am running a 233 MHz AMD K-6, with an Sanyo CRD-820PP ATAPI CD-ROM, on Red Hat 7.2. I'm a total nOOb, I've only had Linux running for about 2 days now, so I'm still learning. I already tried to do this:

-------------------------------------
# ln -sf /dev/hda /dev/cdrom
--------------------------------------

to set it to the correct spot(it was at hdc), because I read that in a HOWTO online, but it didn't help. I tried to read the man's for "fstab" and "mount", but everything seems right. In fstab, the CDROM is listed at /dev/hda, and everything else in there seems to be right. I got my floppy drive mounted, and can read info from that, but the CD-ROM just refuses to get going. My tiny nOOb brain just couldn't deal with this, so I thought I'd come online and ask.

trickykid 07-17-2002 09:14 PM

Have you tried mounting without the -t 9660 option ?? What do you have for your cdrom in the /etc/fstab file ??

Plus I wouldn't think your cdrom is on the Primary IDE controller which is /dev/hda.

/dev/hda = Primary IDE
/dev/hdb = Primary Slave
/dev/hdc = Secondary Primary
/dev/hdd = Secondary Slave

neo77777 07-17-2002 09:34 PM

Are you trying to mount audio CD? This is the question I always ask b/c due to lack of any filesystem audio CD's are not mountable

Tayl 07-17-2002 09:37 PM

Actually, yes, I AM trying mount an audio CD. I just wanted to test out that my sound worked correctly, so I put in an audio CD, and then I ran into the problem with the CD-ROM, so I got sidetracked. I had no idea that I couldn't mount an audio CD. So how can I listen to my audio CD's then?

Edit -- BTW I already tried to use Gnome's CD Player, it said it couldn't find a CD-ROM Device.

neo77777 07-17-2002 10:22 PM

Hmmm, intresting I nailed the bully.
Now, what are permissions on /dev/hda (you said your CD-ROM is /dv/hda, isn't?) , you will need to change them to allow others to read /dev/hda. And why is it /dev/hda ? Is it really attached to primary master IDE channel?

Tayl 07-18-2002 08:20 AM

Actually, I didn't even know what "hda" and all of that meant...I know that when I was using Windoze on this machine the CD-ROM was Secondary Primary, so that would be hdc, right? I already tried changing it back to hdc from hda, now it says that it "is not a valid block device" when I try to mount.

I'm not at home right now(stupid work), so I can't get you what it says exactly in my fstab file. I remember that from what I read online and in some books, it looked exactly like it should be, with "/dev/hdc" in there(I changed it back from hda), "/mnt/cdrom" and "iso9660", with some other stuff I can't exactly remember. If you need the exact contents of it in order to fix my problem, I'll post it when I get home tonight.

zLinuxz 07-18-2002 08:54 AM

ehmm, just bust out the CD-player utility in the Multimedia section of the file menu and push play when the Audio cd is in the drive, ;)
I'm actually a little surprised because from version 7.1 and on, if Redhat detects it is an audio CD it will automatically start the audio CD playing utility...one of those distribution features. But try what I said...


All times are GMT -5. The time now is 03:20 AM.