LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Oh dear. CD-ROM doesn't work. (https://www.linuxquestions.org/questions/linux-software-2/oh-dear-cd-rom-doesnt-work-105559/)

cubeman 10-18-2003 10:39 AM

Oh dear. CD-ROM doesn't work.
 
I've tried to access it, but it gives the error:


could not enter directory /mnt/cdrom


???

And what does mounting mean? It was part of the installation process, but I needed the wizard which did everything for me automatically.

Thank you in advance for any help!

cubeman 10-18-2003 10:44 AM

Oh sorry! This appears to be in the wrong thread! =/

I forgot the additional information that Kdrake Management Centre (I run Mandrake 9.1) detects it fine, knows its make etc etc. It is a Toshiba DVD/CD-RW combo drive.

Thanks!

wuck 10-18-2003 10:50 AM

Could you give us the output of:

$ ls -l /mnt/cdrom

And

# cat /etc/fstab

cubeman 10-18-2003 11:04 AM

Is that including the $ sign? I shall assume without:


ls: /mnt/cdrom: Input/output error


and


/dev/hda5 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 noatime 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,code
page=850,unmask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,unmask=0 0 0
/dev/hda1 /mnt/windows vfat iocharset=iso8859-15,codepage=850,unmask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0


phew

I also have no need of a floppy drive: The laptop didn't come with one. And I'm assuming a floppy is 'mounted' whatever that means. Does this cause any problems?

cubeman 10-18-2003 12:19 PM

Help please! Could a moderator place this thread in the hardware section as well? Thanks!

ezra143 10-18-2003 12:26 PM

try mount /mnt/cdrom /dev/scd0 in terminal then open the mnt/cdrom directory.

mounting the cdrom is the same as telling nix that there is something there, to read it and how to read it.

quatsch 10-18-2003 12:30 PM

you do need a cdrom in the drive to access /mnt/cdrom.

cubeman 10-18-2003 12:36 PM

Yep. A CD-ROM is inside. I now get

mount: only root can do that


I assume this means that only the administrator can mount. So how do I log in as the administrator?!

quatsch 10-18-2003 12:42 PM

you probably don't have to mount it. Mandrake has this feature called supermount which, if it works, saves you the trouble of mounting and umounting CDs and floppies. Try changing into the directory /mnt/cdrom.

To be more precise: supermount does the mounting and umounting for you so when youstick in a Cd, it'll get mounted automatically.

cubeman 10-18-2003 12:45 PM

Same problem. The Input/outout error. I can't get into the directory. I think that was what wuck suggested earlier...

ezra143 10-18-2003 12:49 PM

in terminal su and provide root password

cubeman 10-18-2003 12:52 PM

How was I meant to know that su thing? =/
So I can switch to being the admin, but still can't access cdrom via /mnt/cdrom!!!


bash: cd: cdrom: Input/output error

quatsch 10-18-2003 12:52 PM

What kind of CD is it? If it is a music CD it won't work. Also try with other CDs and see if it works.

If it does not work, have a CD in the drive and tell us what the output of
cat /etc/fstab
and
cat /etc/mtab

(just type the above lines in a terminal window)

cubeman 10-18-2003 01:18 PM

Thanks for all the help so far. I have been at this since installing it at midday today. =/

After sorting out another problem with the Boot Manager, and trying the CD-ROM again, I found to my surprise I could access it! Even the /mnt/cdrom (which I assume is the same thing) worked!

As an aside, how can I access audio CDs then?! Even KsCD, the audio CD player can't play any audio CD!

cubeman 10-18-2003 01:23 PM

Oh sorry. I meant I fiddled with the options under Mount Points using the Control Centre and checked user. supermount was already checked and obviously wasn't working. =/


All times are GMT -5. The time now is 09:09 PM.