LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   very simples (and lamme) question about mounting (https://www.linuxquestions.org/questions/linux-newbie-8/very-simples-and-lamme-question-about-mounting-134129/)

priest_judas 01-12-2004 05:40 PM

very simples (and lamme) question about mounting
 
eer... how can I mount an Audio CD? I know it's a very stupid question but...


root@slackware:/home/renato# mount /dev/hdc /mnt/cdrom
/dev/hdc: Input/output error
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/hdc: Input/output error
mount: you must specify the filesystem type
root@slackware:/home/renato#


pls, could anyone help me? I need to listen metallica... hehehh

chrisk5527 01-12-2004 05:47 PM

mount /dev/cdrom /mnt/cdrom
-or-
mount -t iso9660 /dev/cdrom /mnt/cdrom

You may not even need to specify a mount point. Try it with or without it and check your results. Did you set up the CDROM in your /etc/fstab correctly? If your not sure, check it and see if it even exists.

drknow 01-12-2004 05:49 PM

Try mount /dev/hdc -r iso9960

drknow 01-12-2004 05:50 PM

sorry, i forgot to specify an output directory, but you get the point. Also try using "man mount". It is very helpful :).

TheOneAndOnlySM 01-12-2004 05:51 PM

umm, if it is a standard audio cd, then you don't need to mount it...

just go into the cd playing tool and elect to play the audio cd in /dev/hdc or /dev/cdrom granted that /dev/cdrom is a simlink to /dev/hdc and has proper permissions

drknow 01-12-2004 05:58 PM

i guess that is the definitive answer :). Though all he asked to do was mount it :). Just kiddin man. Someday Ill be smart like you :).

priest_judas 01-13-2004 02:22 PM

there is still a problem ._.


root@slackware:/home/renato# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
root@slackware:/home/renato#


I tryed /dev/hdc and /dev/hdd, but still the same error in both drivers... metallica's black album is in it... and I need to listeeeen to it... pls, could someone help me?

slackie1000 01-13-2004 02:32 PM

Hi there,

if it only to listen you don't need to mount it.... like TheOneAndOnlySM said,,,
audio cd's in general ....
just listen then... choose the correct player and the links will be ready if you did the correct configuration...

Regards,

Slackie

priest_judas 01-13-2004 03:01 PM

I tryed with KsCD form KDE, but then...


CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to
/dev/cdrom



how can I check if the configurations are correct?

PS: I get this message whatever if the cd drive is opened or not...

TheOneAndOnlySM 01-13-2004 05:25 PM

i see that you are using slackware 9.0... which means first that your simlink may need to go to /dev/sr0

to check for this, you must tell us if you are using scsi emulation: go into /etc/lilo.conf and see if you see an entry for hdc=ide-scsi, then you have scsi emulation

if so, become root (as su) and then do rm /dev/cdrom and then do ln -s /dev/sr0 /dev/cdrom
finally, do chmod 755 /dev/cdrom (or 777 or 555 if you wish)


if you don't have scsi emulation, then make sure that /dev/cdrom is a simlink to /dev/hdc; to check for this and for permissions do
file /dev/cdrom

if you don't have scsi emulation, then just do chmod 755 /dev/cdrom

priest_judas 01-13-2004 07:40 PM

thanks dude, it worked!! the KsCD now can read the music from the cd... it keeps playing and showing the secs etc... but no audio

I checked the volume levels at KsCD, KMix and AlsaMixer, but everything is just fine... I had this problem when I was using red hat too and I could never fix it... now in slack it's happening again...

it's only a configuration problem cuz in windows I can listen to CDs... does somebody know how to fix it? my diskman batteries are running low hehehh...

TheOneAndOnlySM 01-13-2004 08:22 PM

several ways to go about that problem: recompile existing kernel (probably 2.4.20), upgrade to kernel 2.6.0 with alsa, or just install alsa drivers

the easiest solution is probably to install the alsa drivers (ya i had sound problems in redhat too, thankfully alsa came and saved the day)

go to http://www.slackware.com/pb/search.p...nt&string=alsa
and download those four alsa packages, then as root, cd into the directory of to where you downloaded those files and then do pkgtool to install those packages

still as root, do alsaconf to select your sound card then use alsamixer or whatever other tool to raise the volume

michaelk 01-13-2004 08:33 PM

Do sound work except for playing CDs? System sounds, MP3s etc.

If so then you do not have an audio cable from the CD drive connecting to the sound card. Windws XP uses digital audio extraction where the cable is no longer needed. (win 98 also required a cable).

The latest version of xmms does digital audio extraction.

BTW for mounting audio CDs I think this will work
http://freshmeat.net/projects/cdfs/?topic_id=118%2C142


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