LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-11-2007, 11:23 AM   #1
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Rep: Reputation: 15
Can't mount /media/cdrom0 - Ubuntu:Feisty 7.04


Hello folks!

There are a lot of threads on cdrom mounting, but none of them had the solution I need, so I decided to post a new thread.

I can't mount my cdrom drive. On with the outputs:
Code:
misstajah@MJhost:~$ mount /media/cdrom0
mount: special device /dev/hda does not exist
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
.
.
.
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
Code:
misstajah@MJhost:~$ ls -l /dev | grep hda
/*NOTHING*/
What can I do? Thanks in advance.
 
Old 07-11-2007, 11:57 AM   #2
masinick
Member
 
Registered: Apr 2002
Location: Concord, NH
Distribution: Debian, sidux, antiX, SimplyMEPIS, Kubuntu, Mandriva, Fedora, Xandros, Arch, and many others
Posts: 560
Blog Entries: 14

Rep: Reputation: 35
What kind of devices do you have? IDE, SCSI?

Quote:
Originally Posted by misstajah
Hello folks!

There are a lot of threads on cdrom mounting, but none of them had the solution I need, so I decided to post a new thread.

I can't mount my cdrom drive. On with the outputs:
Code:
misstajah@MJhost:~$ mount /media/cdrom0
mount: special device /dev/hda does not exist
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
.
.
.
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
Code:
misstajah@MJhost:~$ ls -l /dev | grep hda
/*NOTHING*/
What can I do? Thanks in advance.
First figure out what kind of devices you have.

more /proc/partitions to find out what kind of disks you use.

more /proc/devices to find out which devices are used by your system.

From there, we'll get a better idea of whether you have IDE or SCSI devices. /dev/hda is the first IDE device - usually a DISK, not a CDROM. /dev/hdc or /dev/hdd are commonly the CDROM or CD/RW device when IDE naming conventions are used. When SCSI naming conventions are used, the devices begin with sd, for example /dev/sda, /dev/sdc, etc.

Find out what you have by examining the files in /proc, and that will help determine what you are using, and then we can adjust the file system table, fstab, accordingly.
 
Old 07-11-2007, 01:48 PM   #3
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
Code:
misstajah@MJhost:~$ more /proc/partitions
major minor  #blocks  name

   8     0  156290904 sda
   8     1    5120000 sda1
   8     2   93773824 sda2
   8     3    1052257 sda3
   8     4    5245222 sda4
Code:
misstajah@MJhost:~$ more /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
 10 misc
 13 input
 14 sound
 21 sg
 29 fb
 81 video4linux
 99 ppdev
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb
189 usb_device
216 rfcomm
254 usb_endpoint

Block devices:
  1 ramdisk
  8 sd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
I believe I'm using SCSI. My hard drive is a SATA one.
 
Old 07-12-2007, 12:08 AM   #4
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
what is the manufacture an model number for the computer?


if we assume the drive is ide, there are a very finite number of commands that should mount it sucessfully. try these


mount /dev/hda /mnt
mount /dev/hdb /mnt
mount /dev/hdc /mnt
mount /dev/hdd /mnt
mount /dev/hde /mnt
mount /dev/hdf /mnt


If your cdrom is ide (most likley) and you dont have more than 3 ide channels (very unlikley) one of these commands mount your disk on /mnt.

If you want to mount it somwhere other than /mnt feel free to substitue /media/, /media/cdrom, or whatever you want for the /mnt in the command.

If none of these work, then you have a scsi or sata drive. If thats the case, one of these will work.
mount /dev/sda /mnt
mount /dev/sdb /mnt
mount /dev/sdc /mnt
mount /dev/sdd /mnt
mount /dev/sde /mnt
mount /dev/sdf /mnt
mount /dev/sdg /mnt
mount /dev/sdh /mnt



If this seems like senseless hacking, thats because it is. but since I dont know your system, i gotta give you some good guesses

Let us know how you make out, and if none of this works, try to give us more info.


By the way, you can copy/paste these into the console by highlighing the command here, and clicking your middle mouse button in your xterm window.
 
Old 07-12-2007, 03:53 AM   #5
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
Well, aparently only /dev/sda exists... But that's for the hard drive

My guess is that the CD drive (which is an ASUS DVD+/- RW DL) is like it's not there... it's not in any folder of interest, no hdc, no sdc, no nothing :S

The /etc/fstab refers to sda1, sda2, sda3 and sda4, which are the four partitions I have on the hard drive :S
 
Old 07-12-2007, 04:40 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
This should tell you if linux recognized your cd/dvd (looks like it didn't..)
Code:
egrep "CD|DVD" /var/log/messages
 
Old 07-12-2007, 10:41 AM   #7
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Another possible cause of the problem....


check your bootloader to see if there is a line in it as follows:

Code:
append="hdc=ide-scsi"
If it does, try removing it, if your using lilo running lilo again to re-write the boot record, and reboot.


What might have happened is if you have that append line in, which is needed for a 2.4 kernel to burn cds, but you are running a 2.6 kernel, it could break things



Let us know if thats the case
 
Old 07-12-2007, 02:05 PM   #8
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
Code:
misstajah@MJhost:~$ egrep "CD|DVD" /var/log/messages
Jul 12 09:45:27 MJhost kernel: [  127.760000] Unable to identify CD-ROM format.
the append line is not included and I am using 2.6 kernel...

 
Old 07-18-2007, 05:07 AM   #9
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
I still haven't figured the problem out, anyone can help me?

I tried to append the drive on boot but I don't know how to do it permanently :S
 
Old 07-18-2007, 07:04 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,864

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
Look at the output of the console command dmesg. Is your cdrom detected?
dmesg | grep CD (remember linux is case sensitive)
 
Old 07-18-2007, 07:26 AM   #11
gridl0ck
LQ Newbie
 
Registered: Jul 2007
Location: Lagos, Nigeria
Distribution: Ubuntu Feisty; Debian Etch; RHEL 4 AS; LinuxFromScratch 6.2
Posts: 1

Rep: Reputation: 0
Cdroms and dvd drives are identified as /dev/scd[X] in Feisty, due to the new libata drivers in 2.6.20 kernel. All drives are seen as scsi. In your case, that would be /dev/scd0

Last edited by gridl0ck; 07-18-2007 at 07:27 AM.
 
Old 07-18-2007, 11:02 AM   #12
misstajah
LQ Newbie
 
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27

Original Poster
Rep: Reputation: 15
michaelk: nothing appears on CD, just an acpi thing not regarding CD units...

gridl0ck: /dev/scd0 doesn't exist either :S it just won't recognize my CD drive what can I do with this? I'm starting to become annoyed with all this
 
  


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
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
LXer: The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) LXer Syndicated Linux News 0 04-20-2007 03:31 PM
possible DNS problems in ubuntu Feisty CSandman Linux - Networking 7 04-03-2007 12:14 PM
can't mount /media/cdrom0 lleb Linux - Software 8 02-04-2007 12:33 AM
sarge beta4 installer and /media/cdrom0 dragozfire Debian 2 07-22-2004 10:45 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration