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? Thanks Ali |
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: Code:
dmesg | less | grep CD 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: Code:
mount /dev/hdb /mnt/cdrom 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. |
hi.
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. thanks Ali |
Try this:
Code:
mount /dev/hdd /mnt/cdrom |
All times are GMT -5. The time now is 02:27 AM. |