mounting cdrw read only in mandrake 7
I am new to linux and this forum so go easy on me....
I am trying to mount my cdrw for read only access and the message is: mount: /dev/cdrom is not a valid block device it's not important because I have a dvd I can mount but it's the principle of the thing. I also was wondering if there is drag and drop support for kfm or any other file manager, kinda like Direct CD. I am proudly a FORMER windows user so I have a whole other perspective to learn. Thanks to anyone who at least reads this. :study: |
mounting rw is not an option, what commands are you using, what's in /etc/fstab
|
fstab:
/dev/hda5 /boot ext2 defaults 1 2 /dev/hda6 / ext2 defaults 1 1 /dev/hda7 /home ext2 defaults 1 2 /dev/hdb5 swap swap defaults 0 0 /dev/fd0 /mnt/floppy auto sync, user, noauto, nosuid, nodev, unhide 0 0 none /proc proc defaults 0 0 none /dev/pts devpts mode=0620 0 0 /dev/cdrom /mnt/cdrom auto user, noauto, nosuid, exec, nodev, ro 0 0 /dev/cdrom2 /mnt/cdrom2 auto user, noauto, nosuid, exec, nodev, ro 0 0 |
what command are you using?
maybe the cdrw is not /dev/cdrom maybe it's /dev/sr0 or something else do you have ide-scsi set on the device in lilo.conf |
the command I am using in terminal is:
mount /mnt/cdrom as far as the entry in lilo.conf I have an entry under image=/boot/vmlinuz that says append="hdc=ide-scsi" :study: It's all greek to me lol |
ok, the line in lilo.conf will make the cd a scsi device probably /dev/sr0
so you need to see what /dev/cdrom is linked to, it may be linked to /dev/hdc which will not work try this Code:
mount /dev/sr0 /mnt/cdrom Code:
ln -sf /dev/sr0 /dev/cdrom |
I tried mounting /dev/sr0 and I got this error:
mount: the kernel does not recognize /dev/sr0 as a block device (maybe 'insmod driver'?) round and round we go lol I appreciate you helping me though. ty |
Could you kindly post the output of dmesg here, but try to snip it to just show us sections about your drive(s). If you are unsure, just go ahead with the full thing.
Somewhere in there it should tell you something about what device it'll be. And one more thing, what version of Mandrake are you using, I am wondering if you are using DevFS. Cool |
Ah yes, how to get the output of dmesg:
open up a terminal, and type: dmesg|less This will make it scrollable, and that way you can scroll through and find the relevant sections. That is a pipe ( | ) btw, it's just above the Enter key on my keyboard. Cool |
dmesg says:
hdc: LG CD-RW CED-8080B, ATAPI CDROM Drive ??? lol |
ha ha ha, ok, can you post the whole thing? There is actually a section in there (usually) that describes the device and the scsi device that is being emulated. Here's my snippet:
Code:
SCSI subsystem driver Revision: 1.00 Cool |
scsi : 0 hosts
scsi : detected total and dats it |
append="hdc=ide-scsi"
is not working you will probably want to put it at the beginning of the lilo.conf file in the mean time you can just use Code:
mount /dev/hdc /mnt/cdrom |
question for David
Hi there,
I am having the same problem with mij Philips CDRW. Whenever I (try to) mount a cd the whole system freezes and I have to reboot. I run RH 8.0. David, should I make a seperate question for my problem and put my dmesg output in there or can I contact you directly? Either way is fine with me. By the way, sorry for interrupting, Job |
I don't think the distro matters a lot, although knowing that a particular distro put's a certain link to a device would help.
As far as freezing, I don't know We need to know how your bios sees the drive, how many what you can do is post part of your lilo.conf file like this Code:
Code:
dmesg | grep CD also let's see what this says Code:
ls -l /dev/cdrom and also your /etc/fstab Code:
cat /etc/fstab we can check to see if it's set up right, but as far as the freezing goes, it's hard to say |
All times are GMT -5. The time now is 05:33 PM. |