Cd-rom Troubles

OK, I've been having some problems with my CD-ROM drive in Linux. :nuts:

Problem: Mandrke Linux 9.1...

I boot from the frist install CD and I choose to install from my internal CD-ROM drive. (Mandrake did recognise my external USB drive but it only reads at 6X so... you know how that goes.) And it can't read the CD?! :nuts:

I tried to install from my USB drive and it worked, but i can't go throught the whole installation like that, it could take over 3 hours

Problem 2: RedHat Linux 9.0

I download the ISOs and install, Install goes w/ out a hitch, actually only takes 45 mins! Then I insert a CD i made of Open Office and the newest version of KDE. And I insert it in the drive and the CD light comes on and stays on, plus my CPU light comes on and stays on. The CD-ROM wasnt mounted on the desktop so i went to /mnt/cd-rom/ and it still wouldnt read. I then found out that Linux locked the door of my CD-ROM drive, so i resarted my computer.

My CD-ROM drive is a SAMSUNG SC-140. Someone help

I know the drive may require cleaning so im gunna buy a laser CD to clean it.

Thanx!

#43726

as root:

mount /mnt/cdrom

it will mount the drive.

eject cdrom

will un-mount and eject the cdrom

if cpu goes up to the roof when you insert the CD do a

ps -aux |head -10

check what process is taking the resources, an do a:

strace -p

strace will allow you to see what system calls that process is making and usually from that you can figure out what's wrong.

#43728

Right, in almost all distros you have to mount drives manually. Only Mandrake uses something called "Supermount" to auto mount everything. Unfortunatly, it can be buggy sometimes.

to unmount something but not eject it:

umount /mnt/cdrom

to mount a partition:

mount -t [file_system] /dev/hdX# /path/to/mountpoint

replacing X and # with the appropriate values.

#43744

if the partition is already in your /etc/fstab file there is no need to issue the whole mount command.

i.e:

cat /etc/fstab

/dev/hda2 swap swap defaults 0 0

/dev/hda3 / reiserfs defaults 1 1

/dev/hda1 /boot reiserfs defaults 1 2

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

/dev/fd0 /mnt/floppy auto noauto,owner 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

proc /proc proc defaults 0 0

mount /mnt/cdrom

will mount the cdrom, be aware however that there has to be a CD inside the cdrom or you'll get an error message like this:

mount: wrong fs type, bad option, bad superblock on /dev/cdrom,

or too many mounted file systems

(could this be the IDE device where you in fact use

ide-scsi so that sr0 or sda or so is needed?)

#43763

This is all very hard for me to grasp...

OK, to mount an ISO-9660 CD i would type

mount -t ISO9660 /dev/hdD0 /mnt/cdrom1

because the hard drive is mounted at /dev/hdc/ i mount the first CD Drive at /dev/hdd0? And he USB drive at /dev/hde1?

OK, I think I kinda came off really cocky about thinking "I know Windows really really good, so Linux will be a peice of cake" I don't think that anymore! And I'm kicking myself for jumpping to that conclusion. If i learned one lesson already is that not one distro is the same. And if Contrasutra has tought me one thing is that Linux is just a kernel, not a CLI, or a GUI.

@contra: I'm sure you have a lot of better things to do than help me w/ these petty questions I have. Next time I go to Barns and Noble ill get a book about RedHat.

@Telmo: Thnx a lot for your help! I really appreciate it!

#43967

a = primary master

b = primary slave

c = secondary master

d = secondary slave

You harddrive should be on the first IDE chain, so it would be hda or hdb

Cdrom drives are usually on the second, so it would be hdc or hdd

Things start at 1, no 0. And /dev/hda is not captalized. Remember, LINUX IS CASE SENSITIVE.

It should be something like:

mount -t iso9660 /dev/hdc /mnt/cdrom

#43968

Originally posted by contrasutra@Jul 31 2003, 09:08 PM

a = primary master

b = primary slave

c = secondary master

d = secondary slave

You harddrive should be on the first IDE chain, so it would be hda or hdb

Cdrom drives are usually on the second, so it would be hdc or hdd

Things start at 1, no 0. And /dev/hda is not captalized. Remember, LINUX IS CASE SENSITIVE.

It should be something like:

mount -t iso9660 /dev/hdc /mnt/cdrom

I capitalized "D" to make it stand out... Thanx!

#44001