LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   CDROM will not mount - need help (https://www.linuxquestions.org/questions/debian-26/cdrom-will-not-mount-need-help-211626/)

Yeah 07-30-2004 05:45 PM

CDROM will not mount - need help
 
Hello-

I am new to linux and debian (But that doesnt mean you can close the window and pretend you didn't read this) LOL

This is my first installation of debian linux (woody) I think it is called. The installation seemed to go ok. I was following the directions found on this site:

aboutdebian.com/install3.htm

Eventually this 'tutorial' if you will asks that I install a different text editor using this command:

apt-get install ee

This results in the system asking me to please insert 'Debian GNU/Linux 3.0 r2 _woody_- Official i386 Binary-2 (20031201' in the drive '/cdrom/' and press enter.

After trying all the discs and pressing enter I simply get the same above message.

I then put in a game cd and typed:

mount /cdrom

This gives me the response:

mount: the kernel does not recognize /dev/cdrom as a block device
(maybe 'insmod driver'?)

Which now makes me think the system does not recognize the cd rom drive at all which is very strange because I used the CD Rom drive to install Debian.

Help is greatly appreciated. I will try not to sound too noobish with my questions and responses .:D

Ankheg 07-30-2004 06:01 PM

Oddly enough, it's been a long time since I've mounted anything... But that's beside the point...here goes nothing....

The proper way to mount a drive is similar to what you were trying, but not quite...you were missing one parameter.

It should have been more like:
mount <device> <location>

Or, if your system isn't setup to auto-detect (but I'm pretty sure Debian is if you just installed woody):
mount -t <filesystem type> <device> <location>

Where device is /dev/cdrom (most likely) and the location is a directory on your system to mount to...in Debian I believe the default is /cdrom. So, that means your command should look a little something like this:
mount /dev/cdrom /cdrom


Okay, scatterbrain alert here... Now that I go back and read the message and see the error again, it seems the answer to the question is in almost a completely different direction (maybe). If you type:
ls /dev/cd*
And you get something (hopefully /dev/cdrom), then the above will be fine I think. If not, then we'll need to know a little more about your system. Specifically, how your CD-ROM drive is connected to it. It's probably on as an IDE, but we'll need to know if it's IDE1 or IDE2, and if it's a master or slave.


Hopefully, everything will work out with some of the above though...

Yeah 07-30-2004 06:15 PM

Thanks for the help so far...
 
Unfortunately this did not work.

Just so you know, I am currently logged in as root

I typed in:

mount /dev/cdrom /cdrom

I get this response:

mount: the kernel does not recognize /dev/cdrom as a block device
(maybe 'insmod driver'?)


I typed in:

ls /dev/cd*

I get the response:

/dev/cdrom /dev/cdu535

This system is a Dell Latitude CPi 266 XT 128 meg ram 6.4 gigHD. The cdrom is a 'modular bay' that pops in and out. I did try popping the cdrom out and back in. I can hear the system 'scan the disc' inside. And like I said. I did install from the cdrom. So I do not think my cdrom drive has failed.

Thank you again for helping.

linsa 07-30-2004 06:23 PM

Re: CDROM will not mount - need help
 
Quote:

Originally posted by Yeah
:

mount /cdrom


Try mount /dev/hdc hdc being the ide your cdrom is connected to.

Here's how to determin which device your
cdrom is connected to:

primary ide Master hda
primary ide slave hdb
secondary ide Master hdc
secondary ide slave hdd


while mount cdrom should work, in my experience
it does not. So try the mount /dev/??? command.

Scott

macondo 07-30-2004 06:25 PM

don't forget to add yourself to the cdrom group:

#adduser <your user name> cdrom

Yeah 07-30-2004 06:41 PM

Re: Re: CDROM will not mount - need help
 
Quote:

Originally posted by linsa
Try mount /dev/hdc hdc being the ide your cdrom is connected to.

Here's how to determin which device your
cdrom is connected to:

primary ide Master hda
primary ide slave hdb
secondary ide Master hdc
secondary ide slave hdd


while mount cdrom should work, in my experience
it does not. So try the mount /dev/??? command.

Scott

I tried all of those :(

I keep getting the response:

mount: the kernel does not recognize /dev/xxx (hdb)(hdc)(hdd) as a block device
(maybe 'insmod driver'?)

Yeah 07-30-2004 06:43 PM

thanks for the tip..
 
Quote:

Originally posted by macondo
don't forget to add yourself to the cdrom group:

#adduser <your user name> cdrom


I am new to all this so I will ask, if I am doing all this as root, I should not have to adduser yet ... right?

Ankheg 07-30-2004 06:53 PM

What does it say if you try:

mount /dev/hd?1 /cdrom

With the ? being 1, 2, 3, or 4, with the same guidelines that linsa posted?

Maybe it's being extra picky... But it seems like something should have worked...

And yes, if you're doing this as root (as you need to be to mount it), then you won't need to add yourself to the cdrom group yet. You will though, when you're trying to access the cdrom drive under a normal user.

Yeah 07-30-2004 07:16 PM

THANK YOU !
 
Ok first, thank you all for helping me so far. I really wanted to continue the little tutorial on that web page so I can get my first web server setup right.

Second. I would like to say it is not entirely my fault.

Conclusion:

The CD-rom drive was being detected in the bios as ide-0. Which did not make sense to me.

What I did:

enter command: Halt

blah blah shutdown turn off

remove power cable and and cable to the pcmcia nic card.

reconnected power:
turned system on:

Got bios error screen: The system could not recognize the device in Modular bay blah blah somthing er nother...

Shut down again removed cd-rom from modular bay disconnect power cord.

reconnected

powerd on and went into bios first...

This time Modular Bay ------- CD-ROM

was detected.

login root...

type:

mount /cdrom

NO ERROR MESSAGE WOOOOOOhooo!

So, in my case even though the drive was functioning spun up when I inserted disks-opened and closed..., al beit in a malfunctioning sorta way bios did not detect it and neither did debian.

I guess this is what I get for trying to setup my first linux install on a cheapo 50.00 laptop and having to buy a CD-ROM for it off eBay.

Thanks again really for all your help. Hope I do not need to come back for awhile anyway )~


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