LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-06-2003, 03:44 PM   #1
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Rep: Reputation: 15
CD-ROM drive is dead: It works with other distros


Hi,

Just installed a Knoppix-like Debian, doing a full

apt-get dist-upgrade

to Debian Sid.

Amazingly smooth, only irritating problem is, the CD didn't work with the initial distro., and it doesn't work with a full Debian either.

I've tried changing /etc/fstab,

replacing

/dev/cdrom

with

/dev/hdc

and

/dev/hdd,

but none works (with a reboot and with a mount -a command without a reboot for both).

Anybody knows a fix?.

Cheers,

Arthur1968



P.S. My CDROM drive is OK: it works with other Linux distros. and Winblow$
 
Old 12-06-2003, 04:05 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
What CD-ROM drive are you using?

# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting
 
Old 12-06-2003, 04:29 PM   #3
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
It is a Samsung DVD-CD/RW on a Samsung X10, and it's been OK with everything I've installed (Fedora 1, RH 9, Mandrake 9.2, Libranet 2.7, ...)

Why do you ask?

Last edited by arthur1968; 12-06-2003 at 04:30 PM.
 
Old 12-06-2003, 04:35 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
what /dev/hdX is it tied to?

dmesg | grep hd^

dmesg | grep CD-ROM

should tell you. Is that what you edited /etc/fstab with? Is it a SCSI drive? /dev/scdX, /dev/sg0?

Do you have an append line in lilo.conf like:

append="hdb=ide-scsi"
 
Old 12-06-2003, 04:37 PM   #5
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
I will run dmesg to find out

I am not using LiLo, but Grub through my Fedora install.

Glad to see you again, llamakc, the ubiquitous helping hand
 
Old 12-06-2003, 04:47 PM   #6
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
The output from dmesg | grep hd*

hdc: Samsung CD-RW/DVD-ROM SU-408B, ATAPI CD/DVD-ROM drive

In that case, using /dev/hdc ... in /etc/fstab should be OK, shouldn't it?

(The audio programme complaining is gnome-cd)

My grub line to boot Debian doesn't include references to the CD-ROM drive, should it?

Sorry, it does include it:

hdc=ide-scsi

Should it be any different?

Thanks

Last edited by arthur1968; 12-06-2003 at 04:51 PM.
 
Old 12-06-2003, 04:54 PM   #7
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
I think the problem is you are trying to mount an audio cd. Is that it? Because audio cd's do not have filesystems on them, therefore you can not mount them.

Debian doesn't set new users up in the audio group by default. You must add the user.

usermod -G audio username

Logout/In.

If you are putting a data cd in, then there is a different problem.

Can root play music cd's? Have you tried mounting another data cd to see if the cd-rom works at all? Stick in one of the Debian cd's and do

mount /cdrom

Provided your /etc/fstab looks like:
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0

or

/dev/hdc /cdrom iso9660 ro,user,noauto 0 0

Yo should be a-okay.

I usually create a symlink like:

ln -s /dev/hdc /dev/cdrom

the hdc=ide-scsi provides emulation for your burner to work. It's a-okay to have.
 
Old 12-06-2003, 05:01 PM   #8
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
Root cannot play audio CDs either (Error in Drive)

Data CDs are not mounted automatically, and when accessing the folder for /cdrom and /mnt/cdrom, they both show nothing (non-root)

What does this sound like to you?
 
Old 12-06-2003, 05:10 PM   #9
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
On Debian we don't use /mnt/cdrom, we use /cdrom. Do you have a separate filesystem/tree/disk for the Debian(Knoppix) install from other o/s's currently installed? Are you sharing partitions? Let's see your /etc/fstab WHILE in Debian (and if you dualboot RH or other Linux, when booted in that too), and the contents of GRUB's grub.conf (or menu.lst, whatever it is these days).

Those /cdrom and /mnt/cdrom folders WILL be empty if you have an audio cd in. Have you tried playing cd's from the command line?

cdplay

To be honest, this is a new one to me. But like all problems, its solvable.
 
Old 12-06-2003, 05:20 PM   #10
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
I am not sharing partitions, but remember this very CD drive did work under other Debian-based distros:

Knoppix, Gnoppix, Libranet

The current Debian install is not necessarily the final one on my laptop: should this issue become too much of a nuisance, I can always do a dist-upgrade starting from one of the others.

Don't push yourself for an answer if this is too new for you...

Thanks all the same

 
Old 12-06-2003, 05:22 PM   #11
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Did you like Gnoppix? I haven't tried it yet. I use Knoppix as my toolkit to save other systems. Now that ntfs.sys can be used for write-access to NTFS partitions, I'm excited about it even moreso.
 
Old 12-06-2003, 05:28 PM   #12
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
To be honest, Gnoppix is the distro. I got least to use of them all.

One impression, though:
unless your German is bloody good, you might need a little dictionary by your side; I got the feeling they didn't cover all menus and submenus, so some things are still there in my rusty German (been studying German for so long I can't believe my command of this is crap).

Anyway, why not an HDD install of Knoppix and then maybe switching to Gnome?

 
Old 12-06-2003, 05:41 PM   #13
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
That could work. How long does the Knoppix hdinstall take? A Debian install is done in 20 minutes w/broadband. I don't use GNOME or KDE as DE's, but I do use alot of their programs (quanta+ from KDE, galeon from GNOME). My Windowmanager of choice is Openbox3 (http://www.icculus.org/openbox) which is in Debian Unstable. I only want a root menu, a bsetbg background and no icons.

But that's what rocks about Linux: the choices are wide and different with each new project.
 
Old 12-06-2003, 06:00 PM   #14
arthur1968
Member
 
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63

Original Poster
Rep: Reputation: 15
That's what I call austere...


Knoppix took some 20-25 minutes on my laptop unit (Centrino 1.6, 512 MB 266 DDRAM, 4200 rpm HDD).

BTW, since you might do this, what happens exactly if a Debian-based distro with KDE is installed, and then an

# apt-get dist-upgrade

is executed?.

I understand only KDE would get upgraded, since Gnome wasn't there in the first place. Would it be then just a matter of running

# apt-get install gnome?

As simple as that?
 
Old 12-06-2003, 06:14 PM   #15
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Yes. However in order to properly dist-upgrade one must edit the /etc/apt/sources.list file.

WHERE a stable distro has:

deb http://ftp.us.debian.org/debian/ stable main non-free contrib

to dist-upgrade you change the instance of "stable" to "testing" (to move to Sarge) or "unstable" to move to Sid.

SO editing the /etc/apt/sources.list and doing apt-get update && apt-get dist-upgrade will move all installed packages up to their Sarge/Sid counterpart, and freshen the packages archive. THEN, doing apt-get install gnome would indeed install Gnome 2.4.

apt-get upgrade upgrades packages

apt-get dist-upgrade upgrades the distro flavor from stable to testing/unstable.

HTH
 
  


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
Unable to mount CD. Possibly my CD-ROM just dead? z-vet Linux - Hardware 3 03-19-2005 06:26 AM
cd-rom is dead Jozsef Linux - Newbie 3 10-08-2004 04:14 PM
Nvidia freezes on some distros but works on others nvgringo Linux - Hardware 2 01-23-2004 12:43 PM
CD-Rom dead, trying to install RedHat via network on a Xircom PCMCIA crimzor Red Hat 0 11-08-2003 11:19 AM
some linux distros not recognizing my cd rom bosewicht Linux - Newbie 0 09-18-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06: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
Open Source Consulting | Domain Registration