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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-15-2003, 01:42 PM
|
#1
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Rep:
|
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)
|
|
|
07-15-2003, 04:39 PM
|
#2
|
Member
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397
Rep:
|
Your cdrom can't be located at /dev/hda, that's your ide. Edit your /etc/fstab and add your cd-rom there.
|
|
|
07-15-2003, 04:49 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
type :
cat /var/log/dmesg |grep hd[a-d]
or something like
/sbin/sfdisk -l
and see where your cdrom is located...
|
|
|
07-15-2003, 04:52 PM
|
#4
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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) *
|
|
|
07-15-2003, 04:54 PM
|
#5
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
07-15-2003, 06:40 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Totally off topic but there's just something ****ing hilarious about that.
hda: DMA
hda MA
hdc: pio
hdc io
*lol*
--so naturally I screw it up.
Last edited by slakmagik; 07-15-2003 at 06:41 PM.
|
|
|
07-15-2003, 06:42 PM
|
#7
|
Member
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397
Rep:
|
Post the content of your /etc/fstab so we can see if something is wrong.
|
|
|
07-15-2003, 07:15 PM
|
#8
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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
|
|
|
07-15-2003, 09:17 PM
|
#9
|
Member
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397
Rep:
|
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
|
|
|
07-15-2003, 10:21 PM
|
#10
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
08-03-2003, 07:59 PM
|
#11
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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.
|
|
|
08-03-2003, 08:08 PM
|
#12
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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..
|
|
|
08-05-2003, 12:56 PM
|
#13
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
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?
|
|
|
08-05-2003, 01:05 PM
|
#14
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
what is a symlink?
just open up your grub.conf file and put it at the end of the file.
|
|
|
08-05-2003, 01:08 PM
|
#15
|
Member
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55
Original Poster
Rep:
|
EDIT: Stupid post - doing it wrong.
Last edited by Brian of Gep; 08-05-2003 at 05:34 PM.
|
|
|
All times are GMT -5. The time now is 06:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|