How to copy a device (CD burner) configuration from another Linux installation?
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.
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Rep:
How to copy a device (CD burner) configuration from another Linux installation?
I am trying to setup a SUSE Linux 9.1 and the device recognition appears to be worse than in my running SUSE 8.2.
I already copied the XF86Config from SUSE 8.2 so that the screen is recognised and used properly.
Now I'm stuck with my CD burner. Apparently this is installed in 8.2 as an SCSI device. I read somewhere that this might not be strictly necessary with a 2.6 kernel and the latest k3b (which I installed already). But it is not recognised in YAST or in k3b. How can I copy the configuration to SUSE 9.1?
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Original Poster
Rep:
I checked the two fstabs and changed the SUSE 9.1 fstab entry for CDRECORDER to mirror the SUSE 8.1 entry. Alas, to no avail...
I saw that in SUSE 8.1 the CD Burner was accessed as device "sr0" which implies an SCSI device. What must I do to configure the Burner as an SCSI device in SUSE 9.1?
Originally posted by mwettach I saw that in SUSE 8.1 the CD Burner was accessed as device "SD0" which implies an SCSI device. What must I do to configure the Burner as an SCSI device in SUSE 9.1?
You may pass the hdd=ide-scsi parameter to kernel (i assume that your cd-burner is /dev/hdd) each time you reboot or add an append entry to your lilo.conf with hdd=ide-scsi line.
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Original Poster
Rep:
I'm using GRUB and have hand-crafted the menu.lst file to accommodate my multi-boot setup.
I seem to remember that at least in SUSE 8.2 this "hde-scsi" thing is passed to the kernel as a parameter; probably also in SUSE 9.1 - but I'll check when I get home. Yes, the burner is the second device on the second IDE controller - should be hdd.
What does this parameter do? Does it need additional settings or modules loaded?
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Original Poster
Rep:
I found that SUSE 9.1 was already started using the hdd=ide-scsi parameter. Another parameter, hddlun=0, was present in 8.2 but not in 9.1, but adding this did not change the situation.
In SUSE 8.2, the CDRECORDER is shown in K3B as device sr0. However, in fstab it is shown as beig mounted at /media/cdrom.
When I try to mount /dev/sr0 in SUSE 9.1 I get the message:
"...not present in fstab or mtab..." which is quite true.
Funny device name, sr0. How do I get that to work in 9.1 ?
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Original Poster
Rep:
Answering my own post...
I have found an excellent German How-To document explaining how to setup IDE-SCSI in SUSE Linux using both a 2.4 kernel and a 2.6 kernel (even though the latter does not require the SCSI emulation).
Distribution: SuSE 8.2, SuSE 9.1 on desktop (besides W2K). SuSE 9.1 on notebook (besides XP).
Posts: 44
Original Poster
Rep:
solved
(1) I used the German link above (don't be afraid of the German text; the entries for modules.conf and modprobe.conf are international) and put all those install and remove statements in modprobe.conf.
(2) I called depmod -a
(3) I called modprobe ide-scsi
At this point SUSE recognised a new device and the CD burner was usable.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.