LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-23-2005, 11:06 AM   #1
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Rep: Reputation: 15
DVD-ROM Drive Location


How do I figure out the location (/dev/...) of my DVD-ROM drive? Thanks.
 
Old 02-23-2005, 11:19 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
Hello,

which kernel are you running?
if it's a 2.6X you will be using udev, which creates devices dynamically.....

The drive should already be in /dev/

is it not?

maybe it's /dev/hdc

you can link a file to /dev/hdc, but i don't see the point.

What problem are you having with the drive?
 
Old 02-23-2005, 11:23 AM   #3
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
Well, I am trying to update my kernel (currently 2.4 to 2.6), and I am using the kernel on the Slack install CD. I know--I think--where the kernel is on the disk (/testing/packages/kernel26XXX or something like that), I just can't navigate to the DVD-ROM drive. BTW, I'm not running KDE or anything.
 
Old 02-23-2005, 11:46 AM   #4
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
I tried cd /dev/hdc to see if that was the drive, but all I got back was "/dev/hdc is not a directory". Does anyone know how to navigate to a DVD-ROM in the console?
 
Old 02-23-2005, 12:17 PM   #5
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
B-U-M-P

Sorry
 
Old 02-23-2005, 12:39 PM   #6
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
can you mount it when you're in kde or gnome or such? if so, in command, try

mount /dev/hdd (or /dev/hdc, if thats where your dvd lives...)

cd /mnt/dvd

Last edited by detpenguin; 02-23-2005 at 12:41 PM.
 
Old 02-23-2005, 12:50 PM   #7
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
You won't be able to cd directly into the device. What you need to do is mount the device to a directory. If you take a look in your /etc/fstab file, you should see a line that looks like
Code:
/dev/hdc  /mnt/cdrom iso9660 defaults,ro 0 0
If that's the case, then all you have to do as root is
Code:
mount /dev/hdc
cd /mnt/cdrom
and you should now be looking at the contents of your CD.

If the line is missing let us know and we'll help you out from there.
 
Old 02-23-2005, 12:52 PM   #8
Slayer097
Member
 
Registered: Dec 2004
Distribution: Slack 10
Posts: 59

Original Poster
Rep: Reputation: 15
Finally figured it out.

In /etc/fstab it will tell you. From there I just mounted /dev/cdrom and navigated to mnt/cdrom.
 
  


Reply



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
DVD-ROM drive doesn't want to boot. SILVERPENGUIN Linux - Hardware 9 02-22-2005 05:34 AM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM
can't read data DVD-R on my DVD-ROM/CD-RW combi drive bruceyboy Linux - Hardware 0 11-17-2004 11:25 AM
DVD Rom drive is not seen jeempc Slackware 2 08-13-2004 05:23 PM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 07:35 AM

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

All times are GMT -5. The time now is 07:27 AM.

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