Linux - HardwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.