LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2004, 06:45 PM   #1
Yeah
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
Question 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 .
 
Old 07-30-2004, 07:01 PM   #2
Ankheg
Member
 
Registered: Jul 2004
Location: Woodland Hills, CA
Distribution: Debian/Mandrake
Posts: 37

Rep: Reputation: 15
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...
 
Old 07-30-2004, 07:15 PM   #3
Yeah
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 07-30-2004, 07:23 PM   #4
linsa
LQ Newbie
 
Registered: Jul 2003
Location: here
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
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
 
Old 07-30-2004, 07:25 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
don't forget to add yourself to the cdrom group:

#adduser <your user name> cdrom
 
Old 07-30-2004, 07:41 PM   #6
Yeah
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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'?)
 
Old 07-30-2004, 07:43 PM   #7
Yeah
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 07-30-2004, 07:53 PM   #8
Ankheg
Member
 
Registered: Jul 2004
Location: Woodland Hills, CA
Distribution: Debian/Mandrake
Posts: 37

Rep: Reputation: 15
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.
 
Old 07-30-2004, 08:16 PM   #9
Yeah
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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 )~
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 11:43 PM
cant mount cdrom solarcontrol Linux - Hardware 10 01-16-2005 02:34 PM
Cannot Mount Cdrom? bobr Linux - General 1 05-08-2004 04:29 PM
cdrom won't mount stupidclese Linux - Newbie 2 02-03-2004 04:40 AM
Cdrom mount robbinsar Linux - Hardware 12 05-01-2003 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration