DebianThis 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.
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.
Hi all, I am a real Debian noob and would like some help on a couple of problems that I have. Please feel free to ask for more details if you think I have missed something(and I probably have), and even a redirect to some documentation page is appreciated(i don't mind reading, but some hints on where to begin would be good).
So, let's begin!
I have just installed the current "Stable" version of Debian from the netinstall CD, and it's basically working...but, there are some things that i need help for(in order of importance):
Grub doesn't show windows partitions anymore
Just after first install, grub showed 2 Debian entries and a Windows one. After i made a "apt-get dist-upgrade", apt updated the kernel and after that, Windows is no longer available. How can i restore it?
I need to start the system in command-line, not X
To install nVidia Graphics driver, i need to be out of X, but the system keeps booting to a graphical login...how to get the good old "login:" prompt?
Audio seem to work, but it's not recognised by Teamspeak
Sounds works for XMMS, for example, but it refuses to in Teamspeak client(RC2). Maybe i need to configure something else?
Well, that's it...if someone has suggestions, I'd really appreciate them...expecially for the grub thing
1. As root, you can try running the command update-grub which might find your Windows partitions and add them. If that doesn't work, you can manually add the windows entry to your /boot/grub/menu.lst file. The code will look something like this
Code:
title Windows
rootnoverify (hd0,0)
chainloader +1
makeactive
(hd0,0) corresponds to /dev/hda1 (or sda1). Change it to match your windows install partition. You should be able to find it with fdisk -l.
2. init1 should take you to single user mode (root only). If you want, you can set one of your runlevels to be text only (by default debian makes runlevels 2-5 the same). aptitude install sysv-rc-conf and run that program from the command line as root. Use the space bar to deselect gdm, xdm, and/or kdm from whichever runlevel you choose. Then you can just init3 to boot into runlevel 3, which you deselected the graphical manager.
3. Don't know. I don't know what teamspeak is, but if it runs as it's own user instead of as you, you might have to add teamspeak's user to the "audio" group.
ALT+F2 to open a virtual terminal, login, su - to root and issue the command /etc/init.d/gdm stop
That will shut down X so you can whip through the nvidia driver installation using Debians Module-assistant (that is how you were planning on installing the nVidia drivers right ? )
Debian doesn't use run levels like other distros. Run levels 2-5 are all identical. if you wanted to make your system ALWAYS boot to a command prompt instead of X you simply have to tell the system to not start gdm at boot. mv /etc/rc2.d/S99gdm /etc/rc2.d/K99gdm or use one of the many config tools to make this change, i.e. sysv-rc-conf for instance..
thanks to pljvaldez I managed to have Windows again, and "/etc/init.d/gdm stop" works(thanks farslayer) but there are still problems.
The Module assistant (apt-get install module-assistant nvidia-kernel-common) says it cannot find nvidia-kernel-common...and I've also tried the script from nVidia website, but still nothing...
And, still no progress about the Teamspeak thing. It does seem to run under my user, that's obviosly already in "audio" group, but still no audio. One thing...in the config of TS, it seems to expect that audio is on /dev/dsp...I don't know if that helps.
And, by the way, how can i configure the sound card, in case it has something to do with that? sndconfig doesn't work...
nvidia-kernel-common lives in the "contrib" repository. So make sure you're /etc/apt/sources.list file has "main contrib non-free" at the end. Then apt-get update and try again.
For the sound, you can try using alsaconf. I haven't used it before (everything's worked on my pretty generic sound cards)...
ok, so i managed to find and install the nvidia kernel(thanks pljvaldez, again) but then, after i change the /etc/X11/XF86Config-4 file(from "nv" to "nvidia") and reboot, X refuses to start and gives error "cannot load module".
Still nothing from TS audio, I'm starting to wonder if this has something to do with codecs...(btw, I'm talking of TeamSpeak client from www.goteamspeak.com/)
Look through your xfree86 log file (something like cat /var/log/XFree86.0.log | grep EE) and you might get more information about why it failed to load.
EDIT: Oh, and you don't have to reboot. You can just restart the X server. Hit CTRL+ALT+Backspace or as root do /etc/init.d/gdm restart (replace gdm with kdm or xdm as needed).
well, well, nvidia problem is gone. Seems I did miss a passage during the installation of the drivers, but now it's all right.
The only problem that remains is the damn audio. I tried to run alsaconf but that made the situation worse: when it runs it can't find any sound card...and now audio is not working at all(every system restart a dialog appears and say that /dev/dsp not exist)
I have a nForce 2 integrated soundcard, if that can help.
EDIT: the starting error, in detail (from aRts):
Quote:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
From google, it looks like you need to use the snd-intel8x0 driver for your soundcard. Try modprobe snd-intel8x0 or maybe snd-intel8x0.o to load the module.
Well, I would go searching through your modules directories and see if you can find the right one. Mine is in /lib/modules/2.6.8-3-686/kernel/sound/oss. Yours may have a different kernel version. Then when you find one that looks like i810_audio or intel8x0 or something like that, try modprobing that one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.