LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-28-2007, 11:24 PM   #1
rohin t narayan
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 5

Rep: Reputation: 0
Mount: Special device hda does not exist


Hello freinds
I installed debian etch testing recently. I cannot mount cdrom or rather install any packages from my repository cd.

when i enter mount /media/cdrom
the system returns

special device hda does not exist.

I checked the /dev directory my partitions are named /sd**

i checked the /etc/fstab also

there i found cdrom mounted as sda

I tried setting a symbolic link /hda for /sda.

But even that is not working. Please help

Thankyou
 
Old 07-28-2007, 11:51 PM   #2
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Is your cdrom an IDE drive or a SATA drive? If it's IDE it will be something like /dev/hd*. If it's a SATA cdrom it will probably be something like /dev/sd*.

Assuming that your drive is an IDE drive, first determine whether it is a primary/secondary master/slave.

hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary slave

When you mount a device, you can mount it wherever you want. So try this out: If the following directory doesn't exist, issue the command:
mkdir /mnt/cdrom

Now try the following command:
mount -t auto /dev/hdX /mnt/cdrom #where hdX is based upon the chart above

If that fails, try:
mount -t iso9660 /dev/hdX /mnt/cdrom

--Shaun
 
Old 07-29-2007, 04:23 AM   #3
rohin t narayan
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 5

Original Poster
Rep: Reputation: 0
Ya
my cdrom is SATA.

But how do I determine wheter that it is primary/secondary master/slave

I tried the commands and again tried mounting cdrom. But the system returned
/dev/cdrom already mounted or too busy. But i cannot unmount the drive, the system says cdrom not mounted

I checked the /etc/fstab. There is an entry
/dev/sda /media/cdrom udf iso9660 user, noauto 00

Perhaps this would give some clues
 
Old 07-29-2007, 07:46 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
There is no primary/secondary master/slave with SATA.

Note that fstab does not tell you what is mounted--it is the mounting instructions that a) get used at startup, or b) get used when you issue a "mount" command without specifying all parameters.
mtab tells you what is already mounted.

In your case, the "noauto" entry means that the CD won't be mounted automatically, and that you you can mount it by entering either the device name or mount point in the "mount" command.

Note that most modern distros will automatically mount a CD or DVD whenever media is inserted. When you get the "already mounted" message, that could mean it is....already mounted.

Re-boot the machine (no CD in the drive), look in /media and see what entries are there. Then, what happens when you simply insert a CD? For example, an icon might appear on your desktop.

finally, "dmesg|grep CD" (or grep DVD) should confirm what device names are assigned to your optical drives
 
Old 07-29-2007, 12:59 PM   #5
rohin t narayan
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 5

Original Poster
Rep: Reputation: 0
But all is in vain

I tried that but still i cannot access my cdrom. Also dmesg|grep CD did not return anything.
I am screwed up please help
 
Old 07-29-2007, 02:21 PM   #6
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
A couple questions for you:
1. Are you trying to mount a CD or a DVD?
2. If it's a CD, is it an audio CD or a data CD?
3. Have you tried another CD yet? Maybe the particular CD that you are trying to read is bad, or maybe the drive is bad.

--Shaun
 
Old 07-29-2007, 02:22 PM   #7
krassi
LQ Newbie
 
Registered: Mar 2007
Distribution: Debian 4 (x86_64); openSUSE 10.2 (x86_64); Knoppix 5.1.1 (as needed); still installing Slackware 12
Posts: 25

Rep: Reputation: 15
It looks more like that your CD-ROM works but when you try to isntall anything from it apt is looking in the wrong place. Try just putting a normal data CD in there and open /media/cdrom

Have Fun!
Krassi
 
Old 07-30-2007, 11:49 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by rohin t narayan
I tried that but still i cannot access my cdrom. Also dmesg|grep CD did not return anything.
I am screwed up please help
If dmesg has no entry for the CD reader, then you have a fundamental hardware issue. Things to try:
  1. Try "lshw" (you might have to install this package using your package manager.)
  2. Reboot
  3. Shut down, disconnect and reconnect the cables to the CD reader, and restart
  4. Try a different CD reader, or try yours in a different computer

Last edited by pixellany; 07-30-2007 at 11:51 AM.
 
Old 07-30-2007, 12:06 PM   #9
rohin t narayan
LQ Newbie
 
Registered: Dec 2004
Location: india
Posts: 5

Original Poster
Rep: Reputation: 0
I don't think that there is something wrong with my hardware(cd drive). I have windows and ubuntu 7.04 installed and the cd drive is workingn very well with them.

Is there any thing wrong with the kernel. The kernel i am using is
2.6.16k smp


Please help
 
Old 07-30-2007, 12:57 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by rohin t narayan
I don't think that there is something wrong with my hardware(cd drive). I have windows and ubuntu 7.04 installed and the cd drive is workingn very well with them.

Is there any thing wrong with the kernel. The kernel i am using is
2.6.16k smp


Please help
How about my suggestion to try lshw?
 
  


Reply



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
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 10:39 AM
special device does not exist jay73 Debian 2 01-05-2007 09:42 PM
mount: special device /dev/cdrom does not exist robrichards Linux - Hardware 20 02-15-2005 02:52 PM
special device sda1 does not exist mer0090 Linux - Hardware 3 01-22-2005 08:36 AM
Gentoo: mount: special device /dev/hdg* does not exist mope Linux - Software 4 02-25-2003 12:11 PM

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

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

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
Open Source Consulting | Domain Registration