LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-29-2004, 11:10 PM   #1
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Rep: Reputation: 15
Please help me find my CD-ROM drive?


I have no clue how the heck to find what's on the disk in my cd rom drive. Can you please help me find it or tell me where to look, what to type or how to get it.

Thank you....
 
Old 12-29-2004, 11:21 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Help us to help you.
Please, post your *nix distribution and fstab under /etc/X11
 
Old 12-29-2004, 11:28 PM   #3
sutley
Member
 
Registered: Jul 2004
Posts: 42

Rep: Reputation: 15
your drives are labeled /dev/hda , /dev/hdb, /dev/hdc , etc...

I have two harddrives (/dev/hda, /dev/hdb), a DVDRW (/dev/hdc), and a CDRW (/dev/hdd)

In my case, if I wanted to look at the contents on a disc in my DVDRW, I would

Code:
# mkdir /mnt/dvdrw
# mount /dev/hdc /mnt/dvdrw
# cd /mnt/dvdrw
# ls -al
 
Old 12-30-2004, 12:36 AM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
For IDE devices:
/dev/hda - Primary Master
/dev/hdb - Primary Slave
/dev/hdc - Secondary Master
/dev/hdd - Secondary Slave

For USB devices:
/dev/sda - 1st disk
/dev/sdb - 2nd disk
etc etc

For SCSI devices there are alot of possibilities, check Documentation/devices.txt in your kernel source tree for a complete list. A good to identify which device your CDROM is assigned is to look through the output of "dmesg", or /var/log/messages, or /var/log/syslog. You can also find them in the /proc directory:

cat /proc/ide/ide0/hda/model
cat /proc/ide/ide0/hdb/model
cat /proc/ide/ide1/hdc/model
cat /proc/ide/ide1/hdd/model

After you identify where the drive is, then use mount to mount it so you browse it:

mount /dev/xxx /mnt/somefolder
 
Old 12-30-2004, 12:38 AM   #5
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
Holly crap, I don't know what to do.... I'm running Blag and Libranet and both do the same thing. With Ubuntu (the distro I started with) I just clicked on the icon and I was set. So, I have a hard drive and one cdrw, nothing else in there. I just wanna pull one file off of it and can't, I need a step by step cut and paste kinda thing here...

I guess I am as dumb as my wife always says!
 
Old 12-30-2004, 12:49 AM   #6
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Please, relax!
"while boiling, liquid's flowing over edge,
Increase by view is only,
But in fact is damage"
W. Shakespeare

Describe what you want to do exactly. And with Tux's help we'll be able to help
 
Old 12-30-2004, 12:53 AM   #7
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
I just wanna be rich, marry a model and have a yacht, is that too much? Oh, you mean with the computer, um, I just wanna get one file off my cd rom drive!
 
Old 12-30-2004, 12:59 AM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Please, access terminal and type
#su
input root password
#mc
manipulate midnight commander to /etc/fstab file
select fstab file and press F3 to view it.
This file shows your booted devices.
please copy that text and post it here
 
Old 12-30-2004, 01:58 AM   #9
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
Says command not found when I type MC as SU....
 
Old 12-30-2004, 02:02 AM   #10
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
So, midnight commander is not installed.
Just then navigate using whatever filemanager you have to that file. Copy the text and post it here
 
Old 12-30-2004, 02:32 AM   #11
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
Okay, I went to disk management and the "user mount tool" came up, I highlighted the cdrom and clicked on mount and this is what came up...


mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
 
Old 12-30-2004, 02:35 AM   #12
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Once again open terminal and type
#mount
please post the result
 
Old 12-30-2004, 02:44 AM   #13
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
 
Old 12-30-2004, 02:59 AM   #14
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
open terminal again and type
#su
input password
#chmod 666 /dev/hdb*
#chmod 666 /dev/hdc*
#mkdir /mnt/CD-ROM
Now we will identify your cdrom by typing command
#dmesg
Scroll up and down and see where linux identified your CDrom.
please post the result for future viewing
 
Old 12-30-2004, 04:04 AM   #15
SonoranFun
Member
 
Registered: Oct 2004
Posts: 113

Original Poster
Rep: Reputation: 15
Okay, that made a lotta stuff come up and I'm not sure what you want me to post from there. Thank you for the help but I still don't know what to type or where to go to find the info on the cd in the drive.
 
  


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
How do I find my CD-Rom drive? SonoranFun Linux - Hardware 1 12-29-2004 03:21 AM
How Do I Find Out Which Apps Are Using My CD-ROM? Rexversusu Linux - Newbie 1 09-03-2004 09:21 PM
doesnt find cd rom reveille Slackware 5 08-10-2004 02:50 AM
XP can't find the cd-rom anymore wimwodan General 4 04-19-2004 01:13 PM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 11:58 AM


All times are GMT -5. The time now is 10:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration