Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My DVDRAM drive seems to have stopped working. I'm not too sure why, as I've not changed any settings or anything. Just come to burn a backup and both GnomeBaker and Graveman can't use the drive. GnomeBaker can see it but doesn't register anything's in there, and Graveman's just being ignorant.
My fstab file looks like the following:
Code:
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
Do I have to change this file to let linux know that its an IDE drive but make it use it as a SCSI drive?
First you should check that the device has the proper permissions by doing a ls -l /dev/cdrom. If /dev/cdrom is just a shortcut and it probably is then you need to check the permissions of the device it is pointing to. The permissions should look something like this brw-rw-rw- with read and write privileges for everyone.
As for the SCSI-emulation, you need to check the /etc/lilo.conf file to see if there's a line that says append="hdc=ide-scsi" or something like that.
SCSI-emulation is ONLY needed if you are using a 2.4 kernel. The 2.6 kernel or newer don't need it. When you see this "/dev/cdrom -> hdc" when doing ls -l /dev/cdrom that means it is a link and then you need to check the permissions on the object it is pointing to, not the link itself because a link has no permission restrictions at all.
So you need to do this: ls -l /dev/hdc to check the permissions of the object the link points to.
This is how the section that boots my 2.4 kernel looks like in /etc/lilo.conf
image = /boot/vmlinuz
label = linux
append="hdc=ide-scsi"
I don't think adding the wrong append will break anything but I'm not sure. Once you have stored the file and done a lilo command to change the MBR you also need to change the link /dev/cdrom to point to /dev/scd0 instead since that will be the correct device when SCSI-emulation is enabled.
OK, updating lilo seems to have not worked, however using append="scsi" allows me to eject the drive. Can't do anything else with it, but at least there's some movement.
box:~# mount /dev/scd0 /cdrom -t auto
mount: you must specify the filesystem type
box:~# mount /dev/scd0 /cdrom -t iso9660
mount: /dev/scd0 is not a valid block device
box:~#
This is while lilo is set to append="ide-scsi".
Anything else I can try?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.