LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cant use CDROM drive (https://www.linuxquestions.org/questions/linux-software-2/cant-use-cdrom-drive-84937/)

Jonte 08-23-2003 02:59 PM

Cant use CDROM drive
 
I cant mount any cdroms, when i try 'mount /dev/cdrom /mnt/cdrom' i get a message telling me that the device /dev/cdrom doent exist, i get the same error if i replace /dev/cdrom w/ /dev/hdc, i have one cdrom reader and it worked great w/ the gentoo livecd (i use gentoo) and it also works great in Red Hat linux 9, any ideas? :scratch:

BajaNick 08-23-2003 03:02 PM

Did u check your configuration to make sure the CDrom is visible? Is there a disk in the cdrom?

Jonte 08-23-2003 03:06 PM

i dunnu what you mean by visible, and there is a cdrom in it, i tried w/ 2 different ones and i shold say taht i am pretty much a linux newb

BajaNick 08-23-2003 03:09 PM

I dont know about gentoo but there should be a configuration setting or hardware browser that shows all your drives and other stuff so you can determine what hardware is on your machine.

Jonte 08-23-2003 03:14 PM

yeah, i did that somehow, looked the cdrom up i mean, and the pc found it, it said something 'hdc [cdrom name] and some other cryptic stuff' so, it can find my cdrom..

PenGPow 08-23-2003 03:15 PM

try

mount /dev/hde /mnt/cdrom

Jonte 08-23-2003 03:17 PM

says that hde cant be found

PenGPow 08-23-2003 03:25 PM

hmm, i had the same prob lately when installing gentoo on a pcmcia cdrom, but it worked eventually with the hde

so i guess you have to try all the /dev/hd*

where * = a to i don't know what :)

cheer

Jonte 08-23-2003 03:26 PM

i have tried em all...

PenGPow 08-23-2003 03:34 PM

try

llok at the kernel boot log messages, and c if it found the cdrom(s)

check in the file /var/log/syslog

Jonte 08-23-2003 03:51 PM

nothing interesting there, i can see (i think) that hdc is supposed to be my cdrom

PenGPow 08-23-2003 04:07 PM

hmmm. i guess you did try hdf, hdg and hdh ?

PenGPow 08-23-2003 04:14 PM

okay try this,

boot from your live cd.

when it shows you the scrollbar and the gentoo logo press f2, and check the device name the cd finds :), then try that.

you have to be fast ;)

adz 08-23-2003 09:44 PM

Hmmm... I'm not sure if these ideas will help but they might. Firstly, do you have permission to mount the cdrom? Try mounting it as root. If that succeeds add your username to the "cdrom" group. Secondly, try specifying a filesystem type (ie type "mount -t iso9660 /dev/cdrom /mnt/cdrom". Thirdly, check the /dev/cdrom symlink to double check where it's pointing to. Fourthly, it may be that your fstab is set up correctly but you're bypassing it. Try just typing "mount /mnt/cdrom" (ie just specifiy the mount point) or check your /etc/fstab file to see what the mount point is if it isn't /mnt/cdrom. If all that fails then you said that the gentoo live cd works, right? Boot that and pillage the /etc/fstab file. Once that's on your hard drive, type "mount /mnt/cdrom" or whatever the specified mount point is.

Just so you know, the fstab file is divided up into the following fields:

<file system> <mount point> <filesystem type> <options> <dump> <pass>

and they're usually separated by spaces or tabs. Tabs are nice because then everything is easy to read.

luischardon 08-23-2003 10:07 PM

Hmm.. this has happened to me while using Mandrake 9.1. It seems they are copying solaris and hpux's way of device file naming and they are using /dev/ide/host*/bus*/target*/lun*

You might want to look for that for your CD and do a soft link to /dev/cdrom to the correct path.

Luis


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