Fedora Linux Support Community & Resources Center
  #1  
Old 12th March 2004, 09:02 PM
simcon Offline
Registered User
 
Join Date: Mar 2004
Posts: 5
Replacing an exisiting DVD drive with a CD-RW

Hi, I installed Fedora onto a machine with 2 DVD drives, hdc and hdd. I removed the slave drive and replaced it with a CD-RW. I do have kudzu running but it doesn't seem to have set the SCSI part of the drive up (as the writer part of the drive is normally on the SCSI bus). To force it to discover the drive I edited the kudzu conf file /etc/sysconfig/hwconf and removed the entry for the slave CD hdd and rebooted. When I checked the file a new entry was added and here it is:-

class: CDROM
bus: IDE
detached: 0
device: hdd
driver: ignore
desc: "HL-DT-ST RW/DVD GCC-4120B"

Now I was expecting kudzu to set this up properly, so my question is, is kudzu not functioning correctly or do I need to do something manually?

Here's what 'cdrecord -scanbus' says:-

[root@localhost simcon]# cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

I've Googled for this information and I would have thought it was quite a common thing to do, add/replace CD drives, but I have found nothing.

Regards,
simcon
Reply With Quote
  #2  
Old 13th March 2004, 12:04 AM
simcon Offline
Registered User
 
Join Date: Mar 2004
Posts: 5
Cool Ok, I've done it.

I got it working using some info I found whilst trawling Google (spent the evening doing this):-

I'm using kernel 2.4.22 and my cd-rw is the slave on secondary IDE - hdd.

1. As root edit /boot/grub/grub.conf and add 'hdd=ide-scsi' to the end of the kernel line e.g.

kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ rhgb hdd=ide-scsi

2. As root in a console type '/sbin/insmod ide-scsi'

3. As root edit the /etc/fstab and modify the existing entry for hdd to this:-

/dev/scd0 /mnt/cdrom1 iso9660 noauto,owner,kudzu 0 0

4. Reboot.

Open /etc/sysconfig/hwconf and you should see an entry now like this:-

class: CDROM
bus: SCSI
detached: 0
device: scd0
driver: ignore
desc: "Hl-dt-st RW/DVD GCC-4120B"
host: 0
id: 0
channel: 0
lun: 0
generic: sg0

As root in a console type 'cdrecord -scanbus' and you should see something like this;-

[root@localhost simcon]# cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-redhat-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.75-RH '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
scsibus0:
0,0,0 0) 'HL-DT-ST' 'RW/DVD GCC-4120B' '2.00' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

I've burnt to it and it works

I'll post the link I got this information from when I next visit as it's on my winXP partition and I'm going to bed in a moment.

BTW can somebody who has a CD-R or RW installed post up their fstab entry so I can get an idea if mine is right please?

Cheers.

Last edited by simcon; 13th March 2004 at 12:08 AM.
Reply With Quote
Reply

Tags
cdrw, drive, dvd, exisiting, replacing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing old hard drive.... schamarthi1 Installation and Live Media 3 27th August 2009 12:51 PM
Replacing hda with larger drive pshepherd Using Fedora 2 3rd April 2007 03:13 PM
Replacing a fixed cd-rom drive toxicskater313 Hardware & Laptops 1 5th January 2007 04:27 PM
replacing my hda ekdya Hardware & Laptops 1 20th November 2006 04:50 PM
Replacing (Upgrading) one hard drive. SHtRO Installation and Live Media 5 12th June 2006 09:57 PM


Current GMT-time: 20:43 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat