Click to See Complete Forum and Search --> : Has ne1 gotten cdburning to work under SuSE?


Fondor
07-09-2001, 01:13 AM
If you have can you please tell me how you did it? I cant seem to get it working according to the article on LNO. Thanks in advance.

Strike
07-09-2001, 03:14 AM
how about telling us what didn't work instead?

Fondor
07-09-2001, 05:23 PM
Well, when i type in "cdrecord -scanbus" it says it cant open the scsi drive. im trying to use the ide-scsi module. I put the line append cdrecorder=ide-scsi in lilo.conf. Btw the cdrecorder has location /dev/cdrecorder. But im not sure where to put the "insmod ide-scsi" line so that the thing will load at boot up. In redhat it goes in /etc/rc.local, but i dont know where to put it so its compatible with SuSE. Can ne1 help.

chrisB1
07-10-2001, 05:44 AM
This is a reply to nearly the same question in alt.os.linux.suse

Hope it helps.

---------------------------------------------

Here is how i did it in SuSE 7.2:

as root edit /etc/lilo.config

insert a new line after the "timeout=" line and enter:

append="hdd=ide-scsi"

save the file

as root run lilo to update the configuration that is type

lilo

at a command prompt

if you have a personal startup script add the following two lines:

/sbin/modprobe ide-scsi
/sbin/modprobe sg

to it. In 7.2 the startup scripts are in /ect/init.d
Sinice I was a Mandrake user until last week I am not sure when this got
changed away from /ect/rc.d and not having an rc.local threw me for a
loop until I figured out their scheme.

So if you don't have a personal startup script create one. With a text
editor, su as root and create a text file like:

#! /bin/sh

case "$1" in
start)
/sbin/modprobe ide-scsi
/sbin/modprobe sg
esac


You can fill out the other cases (stop,restart,reload,status) later if
needed.

Save the file and give it exec permission for root as root. Then you need
to create some simbolic links in the /etc/init.d/rc5.d and/or
/etc/init.c/rc3.d directories. So as root at a terminal prompt type:

ln -s /etc/init.d/filename /etc/init.d/rc5.d/S30filename

Replace filename with the file name you used for your personal startup
script. On my machine I didn't have any S* files higher then 22 You
probably want to giive it a high number so it will start after the rest
of the system startup scripts.

You will have to go as root to the /dev directory and rm the exising
cdrecorder symbolic link there and create a new one to the IDE emulating
a SCSI device (if you don't have a seperate CD-ROM you will have to
break and build the cdrom symbolic link also). On mine it was /dev/scd0
because I had an old Jaz drive on a SCSI card, on yours it will probably
be /dev/scc0

You can tell what your SCSI device is by running cdrecord at a terminal
prompt as root. Type in:

cdrecord -scanbus

It should spit back all the SCSI devices it could find. Scsibus0 is
/dev/scc scsibus1 is /dev/scd ect. The cdrecord scanbus report will
only work after you have rebooted, so the lilo configuration changes can
take effect. If you are using GRUB or something besides lilo you will
have to adapt their configuration since lilo doesn't come into the
picture on boot then.

It is really not that hard but I was dissapointed that SuSE didn't set up my
CD-R for me like Mandrake did, but then there are other thinks that SuSE
does right that Mandrake feel down on. Maybe there is some feature in
that I haven't stumbled on in SuSE yet that would have taken care of
this like Mandrake's HardDrake. At least you know how to do it by hand
now.

Good luck,

pben