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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-11-2007, 11:23 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Rep:
|
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.
|
|
|
|
07-11-2007, 11:57 AM
|
#2
|
|
Member
Registered: Apr 2002
Location: Concord, NH
Distribution: Debian, sidux, antiX, SimplyMEPIS, Kubuntu, Mandriva, Fedora, Xandros, Arch, and many others
Posts: 560
Rep:
|
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.
|
|
|
|
07-11-2007, 01:48 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
|
07-12-2007, 12:08 AM
|
#4
|
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
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.
|
|
|
|
07-12-2007, 03:53 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Original Poster
Rep:
|
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
|
|
|
|
07-12-2007, 04:40 AM
|
#6
|
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
This should tell you if linux recognized your cd/dvd (looks like it didn't..)
Code:
egrep "CD|DVD" /var/log/messages
|
|
|
|
07-12-2007, 10:41 AM
|
#7
|
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
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 
|
|
|
|
07-12-2007, 02:05 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Original Poster
Rep:
|
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...

|
|
|
|
07-18-2007, 05:07 AM
|
#9
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Original Poster
Rep:
|
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
|
|
|
|
07-18-2007, 07:04 AM
|
#10
|
|
Moderator
Registered: Aug 2002
Posts: 10,692
|
Look at the output of the console command dmesg. Is your cdrom detected?
dmesg | grep CD (remember linux is case sensitive)
|
|
|
|
07-18-2007, 07:26 AM
|
#11
|
|
LQ Newbie
Registered: Jul 2007
Location: Lagos, Nigeria
Distribution: Ubuntu Feisty; Debian Etch; RHEL 4 AS; LinuxFromScratch 6.2
Posts: 1
Rep:
|
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.
|
|
|
|
07-18-2007, 11:02 AM
|
#12
|
|
LQ Newbie
Registered: Aug 2006
Location: Portugal
Distribution: Ubuntu 7.04 (almost)
Posts: 27
Original Poster
Rep:
|
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 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:28 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|