LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me find my CD-ROM drive? (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-find-my-cd-rom-drive-271756/)

SonoranFun 12-29-2004 10:10 PM

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....

SlackerLX 12-29-2004 10:21 PM

Help us to help you. ;)
Please, post your *nix distribution and fstab under /etc/X11

sutley 12-29-2004 10:28 PM

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


DaHammer 12-29-2004 11:36 PM

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

SonoranFun 12-29-2004 11:38 PM

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!

SlackerLX 12-29-2004 11:49 PM

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:D we'll be able to help

SonoranFun 12-29-2004 11:53 PM

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!

SlackerLX 12-29-2004 11:59 PM

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

SonoranFun 12-30-2004 12:58 AM

Says command not found when I type MC as SU....

SlackerLX 12-30-2004 01:02 AM

So, midnight commander is not installed.
Just then navigate using whatever filemanager you have to that file. Copy the text and post it here

SonoranFun 12-30-2004 01:32 AM

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

SlackerLX 12-30-2004 01:35 AM

Once again open terminal and type
#mount
please post the result

SonoranFun 12-30-2004 01:44 AM

/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)

SlackerLX 12-30-2004 01:59 AM

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

SonoranFun 12-30-2004 03:04 AM

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.


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