Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-01-2005, 01:51 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
Error in CD-ROM Mount

I try to use my Cdrom with these commands:

#mknod -m 660 /dev/hdc b 22 0
#mount -t iso9660 /dev/hdc /mnt/cdrom

But system can not mount and show this Error :

mount : /dev/hdc is not a valid block device

What do I do?
Old 03-01-2005, 02:26 AM   #2
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
I'm not sure why it is that you are using mknod?
Firstly, the mode, by default, is 0666. You need not specify that, unless you would like to change it (from a=r+w) in which case it is done via umask -0666.

Secondly, if you have a CD-ROM installed, it should find the device upon boot, when it scans the IDE bus (assuming you are running IDE)

Try the following:

dmesg | less | grep CD
If this returns output, it should contain the type of CD drive, the manufacturer, the speed, and the address.
This will create the block device for you. It will also tell you where it is mounted.

You can also cat your fstab, and this will tell you if the device was found, and written to the fstab, and if so, where it resides. Depending on how your drives are configured, it may be hdb, hdd, etc.....

Also, when you mount, try to specify as little options as possible. For instance:

mount /dev/hdb /mnt/cdrom


mount -t auto /dev/hdb /mnt/cdrom
Long, explicit commands are romantic, but the ultimate goal of Unix, and Linux in the first place, is to wield as much power as possible, with as little effort as possible.

Lastly, you may try appending the option to the kernel to run the drive as SCSI emulated. First, make sure that the kernel is finding the drive, and then, google how to do this (it varies depending on your bootloader. I know it for lilo, but not grub).

Good Luck.
Old 03-01-2005, 06:40 AM   #3
LQ Newbie
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I did all of these stage but may problem did not solve.
I built a Boot/Root disket and boot my system with that .it has a simple bash (text mode) environment.
I can mount my hard drive (hda1 or hdb1).
my system detect my CDROM drive on hdd.
Old 03-01-2005, 11:08 PM   #4
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
Try this:

mount /dev/hdd /mnt/cdrom


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
Cant Mount Cd-Rom ccerino Linux - Hardware 2 07-23-2005 10:47 AM
cd-rom and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM
Can Not Mount CD-ROM HowdyZBird Linux - Hardware 1 08-11-2003 08:34 AM
CD ROM mount error: "no medium found"????? RonRussell Linux - Hardware 8 07-01-2002 12:34 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:59 PM.

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