Click to See Complete Forum and Search --> : Problem mounting cdwriter and DVD drive
Hello folks... I'd like to see if I can get some tips on how to fix a little problem I'm having mounting my cdwriter and dvd drive..
Using Vector Linux SOHO 5.1.2 on Kernel 6.2.13
when I try: mount /dev/cdwriter or mount /dev/dvd/, I get this mesg
mount: block device /dev/cdwriter is write-protected, mounting read-only but it doesn't really mount. And then another line shows up saying: mount: you must specify the filesystem type
Then I try mount /dev/cdwriter /mnt/cdwriter -t iso9660
and still nothing... Does anyone have any idea?
Icarus
05-08-2006, 06:41 PM
Can't say too much with out more info like the distro and amybe the kernel version you are on. /dev/cdwriter isn't a typical device name and is most likely a link to something like /dev/hdc. To find the device it's on do ls -l /dev/cdwriter and it should show -> where the device is.
The "write-protected, mounting read-only" error is expected because CDs are read-only, that error from the command you used hints that the /etc/fstab isn't right. Check the line in there, mine looks like
/dev/hdc /mnt/cdrom auto noauto,user,ro 0 0the ro means read-only, the user means anyone can mount but on that user and root can unmount it (users will allow anyone to unmount)
I'm rambling but finding the proper device is what you need to do, this should work for that dmesg | grep CDthen you can fix the fstab
Ok.. This is what I got when I did ls -l /dev/cdwriter
lrwxrwxrwx 1 root root 3 2006-05-07 11:56 /dev/cdwriter -> sr0
as far as system info... I'm running Vector Linux on Kernel 2.6.13
And now... I see another prossible problem on my output from dmesg | grep CD
I get this:
hdc: CD-RW IDE4816, ATAPI CD/DVD-ROM drive
hdd: SAMSUNG DVD-ROM SD-616T, ATAPI CD/DVD-ROM Drive
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kb Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Why is hdc referenced twice? lines 1 and 2 should be correct. Why is there a third line and How can I fix this?
m3rlin
05-08-2006, 08:41 PM
try to do mount /dev/hdc /mnt/cdrom
je_fro
05-08-2006, 09:40 PM
This isn't an audio cd is it?
Try mount /dev/hdc /mnt/cdrom/ Everytime I do this, it just hangs... does absolutely nothing....
And in response to je_fro I get the same result in Audio CD and Data ...
And what is the deal with Audio CD's why can't they ever get mounted? How do I play the songs on a disc if I can't access it?
je_fro
05-08-2006, 11:06 PM
You don't mount audio cd's ( I guess ) because they don't contain a recognizable filesystem.
What's the output from
cat /proc/filesystems
and what happens in your logs when you try to mount a disc?
tail -f /var/log/messages
?
m3rlin
05-09-2006, 04:24 AM
indeed you can't mount audio cd's, but you don't need it to play it.
If it hangs maybe he is having some trouble to read the cd, maybe the cd is damaged?
Can you try another cd(one you know its working fine).
if you have another drive, such hdd try to mount /dev/hdd /mnt/cdrom
you can always consider that the cd drive could be damaged :confused:
Ok... got it.. For some reason in fstab there are three devices listed (hdc is listed twice) so I went and just commented one of them out and it works now.. but is it always going to say mounting read-only ? and what about labeling??? because I used to be able to say mount /dev/cdwriter and it knew to mount the cdwriter not the DVD drive. Where is this defined?
m3rlin
05-09-2006, 10:25 AM
its normal for him to say "read only" because your mounting the cd to read data not to write, you can't get in the cd-rom and create a folder or file.
To burn cd's you can use gtoaster or k3b(very good)
its normal for him to say "read only" Thanks for the clarification... BTW I've used K3B before and you're right.. it's pretty good. I guess I just never noticed that CD's always mount as read-only....
But thanks for the help guys....
m3rlin
05-09-2006, 08:24 PM
no problem... glad we could help :P