LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Renaming CD-ROM drive (https://www.linuxquestions.org/questions/linux-newbie-8/renaming-cd-rom-drive-72980/)

Brian of Gep 07-15-2003 01:42 PM

Renaming CD-ROM drive
 
I have a CD-ROM drive that is located at /dev/hda - how do I tell my computer it is at /dev/scd2?
(I want to do this so cdrecord will recognize it)

serz 07-15-2003 04:39 PM

Your cdrom can't be located at /dev/hda, that's your ide. Edit your /etc/fstab and add your cd-rom there.

DrOzz 07-15-2003 04:49 PM

type :
cat /var/log/dmesg |grep hd[a-d]
or something like
/sbin/sfdisk -l
and see where your cdrom is located...

Brian of Gep 07-15-2003 04:52 PM

Well, it is set at /etc/fstab to /mnt/cdrom/,
but it isn't detected by cdrecord or cd roast.
the command:
cdrecord -scanbus
returns my DVD-ROM drive, but not my burner, which is on a seperate IDE cable, or my other CD-ROM drive.

scsibus0:
0,0,0 0) ' ' 'ATAPI DVDROM 16X' '110J' 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) *

Brian of Gep 07-15-2003 04:54 PM

cat /var/log/dmesg |grep hd[a-d]


returned:

Kernel command line: ro root=LABEL=/ hdd=ide-scsi
ide_setup: hdd=ide-scsi
ide0: BM-DMA at 0xc800-0xc807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xc808-0xc80f, BIOS settings: hdc:pio, hdd:DMA
hda: SAMSUNG CD-R/RW SW-248F, ATAPI CD/DVD-ROM drive
hdb: OEM CD-ROM F563E, ATAPI CD/DVD-ROM drive
hdd: ATAPI DVDROM 16X, ATAPI CD/DVD-ROM drive
hda: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache
hdb: ATAPI 52X CD-ROM drive, 128kB Cache

slakmagik 07-15-2003 06:40 PM

Totally off topic but there's just something ****ing hilarious about that.

hda: DMA
hda:DMA
hdc: pio
hdc:pio

*lol*

--so naturally I screw it up.

serz 07-15-2003 06:42 PM

Post the content of your /etc/fstab so we can see if something is wrong.

Brian of Gep 07-15-2003 07:15 PM

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdg3 swap swap defaults 0 0
/dev/cdrom3 /mnt/cdrom3 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0

serz 07-15-2003 09:17 PM

Which of them are working? cdrom/cdrom1/cdrom3. Two of them should be working.

If for example, you're sure that cdrom2 is your dvd. Then change in your fstab your /dev/cdrom2 to /dev/scd2

Brian of Gep 07-15-2003 10:21 PM

My DVD-ROM is cdrom3.

My CD-RW drive is CD-ROM.

My CD-ROM is cdrom1.

They all work, and can read CDs perfectly.

But for some reason my burning programs only recognize my DVD-ROM.
(GNOMEtoaster and command-line cdrecord)

(The reason there is no cdrom2 is because I lent it to a friend, who fried it - that isn't fixable)

EDIT: Where exactly do I change it, and why?

Brian of Gep 08-03-2003 07:59 PM

Please?

I changed all the /dev/cdromx to /dev/scdx in my /etc/fstab.

EDIT: I rebooted and nothing seems to have changed. I have also gotten a replacement for the fried burner, so now I have all four plugged in and working, but the DVD-ROM drive is still the only one detected by cdrecord -scanbus and GnomeToaster.

DrOzz 08-03-2003 08:08 PM

why would you change your mount points to a block device in your fstab? do you mean you made a symlink from /dev/cdromx to /dev/scdx ?
maybe you have to add:
append = "hdx=ide-scsi"
to your lilo.conf or grub.conf depending on your bootloader..

Brian of Gep 08-05-2003 12:56 PM

Oops, I meant that I changed the /dev/cdromx, as I had been instructed to.

I apologize, but what is a symlink?

And does it matter where I add
append = "hdx=ide-scsi"
to my grub.conf? Or can it just go anywhere in the file?

DrOzz 08-05-2003 01:05 PM

what is a symlink?
just open up your grub.conf file and put it at the end of the file.

Brian of Gep 08-05-2003 01:08 PM

EDIT: Stupid post - doing it wrong.


All times are GMT -5. The time now is 03:02 PM.