problem with mounting cdrom
my cdrom is asus 52x, in Hardware Browser I see the boldness about my cdrom is :
Driver : none or built in Device : /dev/hdd I have tried a lot of way to mounting my cdrom, but always failed , only voice the boisterous rotatory cd. I very surprised and confused because there is no problem when I Playing movie with xine or Mplayer Result of comand which I do is : 1. [root@localhost root]# mount /mnt/cdrom mount: Not a directory 2. [root@localhost root]# mount -t cdrom /dev/cdrom /mnt/cdrom mount: fs type cdrom not supported by kernel 3. [root@localhost root]# mount -t iso9660 /dev/cdrom /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting read-only mount: Not a directory 4. [root@localhost root]# mount /dev/cdrom /mnt/cdrom /dev/cdrom: Input/output error mount: block device /dev/cdrom is write-protected, mounting read-only /dev/cdrom: Input/output error mount: you must specify the filesystem type 5. [root@localhost root]# mount /dev/hdd /dev/cdrom /dev/hdd: Input/output error mount: block device /dev/hdd is write-protected, mounting read-only /dev/hdd: Input/output error mount: you must specify the filesystem type and this is content of my /etc/fstab file: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda10 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf, iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 |
1. Does the directory /mnt/cdrom exist?
2. proper use of -t would be mount -t "filesystem type" 3. see #1 above. looking at your fstab, you are specifying two different filesystems for the cdrom, udf and iso9660. Try removing one of the (udf). example: Code:
/dev/sr0 /mnt/cdrom iso9660 noauto,user,ro 0 0 mount /dev/cdrom -t udf /mnt/cdrom |
as stated above, but somewhat danced around, if you cd-rom is /dev/hdd then you, and if the directory /mnt/cdrom exists (to check this type "ls /mnt" and you should it.), you should be able to type:
Code:
|
Ok guys thanks :
1. the directory /mnt/cdrom is exist 2. I have removed the udf 3. because I very confused then I have changed the hdd (secondary slave) to hdc (secondary master) so in "Hardware browser" : Driver : none or built in Device : /dev/hdc and I have tried to used this command but always failed : mount /dev/hdc /mnt/cdrom mount /dev/cdrom -t iso9660 /mnt/cdrom And the contents /etc/fstab file continued to not change. I also have tried to click the cdrom icon in desktop (KDE 3.1 ) but I still receive error mesage : can not find /dev/hdc in /etc/fstab or /etc/mtab Finally I changed /dev/cdrom to /dev/hdc but in /etc/fstab file /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 to /dev/hdc /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 but still failed..... |
You didn't necessarily need to chang the /dev/cdrom to /dev/hdc in your fstab. /dev/cdrom is just a symbolic link to /dev/hdx. Verify this as shown here.
Code:
$ls -l /dev/cdrom Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,kudzu,ro 0 0 Code:
$mount /dev/cdrom Code:
$dmesg |grep hdc |
Ok thanks guys....first I login as root, afterwards I change title “owner” to “users” and remove “udf” ......so.... my /etc/fstab file like this :
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0 afterwards, I try this command [root@localhost root]# mount /mnt/cdrom but I still receive error message: mount: /dev/cdrom is not a valid block device [root@localhost root]# mount /dev/hdc /mnt/cdrom the error message is ----> mount: you must specify the filesystem type [root@localhost root]# mount /dev/hdc -t 9660 /mnt/cdrom the error message is ----> mount: fs type 9660 not supported by kernel [root@localhost root]# mount /mnt/cdrom /dev/cdrom the error message is ------>> mount: you must specify the filesystem type [root@localhost root]# mount /dev/cdrom -t iso9660 /mnt/cdrom the error message is ----> mount: /dev/cdrom is not a valid block device the CD / VCD which I use is newly bought. |
I don't know about a VCD, but you cannot mount an audio CD. It sounds to me like that's what you have. That's why it's returning the "not a vaild block device" message.
Audio (music) CD do not need to be mounted to play. |
OK guys thanks......I mean that CD is Redhat CD not audio cd so...what must I do ..........please help guys... I need your help....
|
what does mount -t auto /dev/cdrom produce?
normally just entering mount /dev/cdrom should just work... are they burnt cd's? ive had some trouble mounting cd's that have been created by direct cd writing as these are written using a different filetype.. (drag and drop bizzo using easy cd creator in windows) ... but with cd's that have been burnt normally with the right iso standards should work... this is my fstab entry... /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 other than that :confused: |
Quote:
|
All times are GMT -5. The time now is 01:32 PM. |