Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
12-06-2003, 04:44 PM
|
#1
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Rep:
|
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$
|
|
|
12-06-2003, 05:29 PM
|
#3
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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 05:30 PM.
|
|
|
12-06-2003, 05:35 PM
|
#4
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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"
|
|
|
12-06-2003, 05:37 PM
|
#5
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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 
|
|
|
12-06-2003, 05:47 PM
|
#6
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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 05:51 PM.
|
|
|
12-06-2003, 05:54 PM
|
#7
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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.
|
|
|
12-06-2003, 06:01 PM
|
#8
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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?
|
|
|
12-06-2003, 06:10 PM
|
#9
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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.
|
|
|
12-06-2003, 06:20 PM
|
#10
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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

|
|
|
12-06-2003, 06:22 PM
|
#11
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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.
|
|
|
12-06-2003, 06:28 PM
|
#12
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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?

|
|
|
12-06-2003, 06:41 PM
|
#13
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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.
|
|
|
12-06-2003, 07:00 PM
|
#14
|
Member
Registered: Aug 2003
Location: Navacerrada, MADRID (Spain)
Distribution: Debian (latest); Fedora Core 1
Posts: 63
Original Poster
Rep:
|
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?
|
|
|
12-06-2003, 07:14 PM
|
#15
|
Member
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|