LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-15-2003, 01:42 PM   #1
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Rep: Reputation: 15
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)
 
Old 07-15-2003, 04:39 PM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Your cdrom can't be located at /dev/hda, that's your ide. Edit your /etc/fstab and add your cd-rom there.
 
Old 07-15-2003, 04:49 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
type :
cat /var/log/dmesg |grep hd[a-d]
or something like
/sbin/sfdisk -l
and see where your cdrom is located...
 
Old 07-15-2003, 04:52 PM   #4
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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) *
 
Old 07-15-2003, 04:54 PM   #5
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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

Last edited by Brian of Gep; 07-15-2003 at 07:16 PM.
 
Old 07-15-2003, 06:40 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Totally off topic but there's just something ****ing hilarious about that.

hda: DMA
hdaMA
hdc: pio
hdcio

*lol*

--so naturally I screw it up.

Last edited by slakmagik; 07-15-2003 at 06:41 PM.
 
Old 07-15-2003, 06:42 PM   #7
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Post the content of your /etc/fstab so we can see if something is wrong.
 
Old 07-15-2003, 07:15 PM   #8
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 07-15-2003, 09:17 PM   #9
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
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
 
Old 07-15-2003, 10:21 PM   #10
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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?

Last edited by Brian of Gep; 07-15-2003 at 10:23 PM.
 
Old 08-03-2003, 07:59 PM   #11
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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.

Last edited by Brian of Gep; 08-05-2003 at 12:55 PM.
 
Old 08-03-2003, 08:08 PM   #12
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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..
 
Old 08-05-2003, 12:56 PM   #13
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
Old 08-05-2003, 01:05 PM   #14
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
what is a symlink?
just open up your grub.conf file and put it at the end of the file.
 
Old 08-05-2003, 01:08 PM   #15
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
EDIT: Stupid post - doing it wrong.

Last edited by Brian of Gep; 08-05-2003 at 05:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No more CD-ROM drive C-monkey Linux - Hardware 2 09-19-2005 03:55 PM
Renaming mounted drive in KDE (suse 9.0 pro) absolute0 Linux - Newbie 4 05-05-2004 08:48 AM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM
Cd Rom DRIVE Longinus Linux - Newbie 2 09-13-2003 05:05 AM
PCMCIA CD-ROM Drive PyroAer Linux - Newbie 8 07-09-2003 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration