Results 1 to 6 of 6
Hello!
Im using the testing netinst, and running on an AMD AthlonXP processor. Does the install automatically configure me for the K7 kernel??
if not after installing the netinst cd ...
- 11-15-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 3
Trouble installing debian and kernel source / headers?
Hello!
Im using the testing netinst, and running on an AMD AthlonXP processor. Does the install automatically configure me for the K7 kernel??
if not after installing the netinst cd I was thinking of doing it like this:
- apt-get update
- apt-get upgrade
- apt-get install linux-image-2.6.17-2-k7
I just pulled this out of my ass from what I found on google.... are all those numbers at the end correct??? hell is the whole thing correct??
And onto my second main dellima..
to install the nvidia beta drivers I downloaded it says I need to install the kernel source and headers
what exactly do I type in to do this?
Thanks for any help
PS. out of curiosity does changing from the i386 to the K7 kernel really boost my perforamnce? I was just doing it for peace of mind for all i know!
- 11-15-2006 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
to install kernel source
apt-get install kernel-source-`uname -r`
- 11-15-2006 #3Just Joined!
- Join Date
- Nov 2006
- Posts
- 3
It says "Couldnt find package kernel-source-2.6.17-2-k7"
is this because of my sources? Im using ftp://ftp.us.debian.org/debian/ etch main non-free contrib
and i have done an update / upgrade just prior to trying this command.
I also just installed the linux-image-2.6.17-2-k7 from this repistory... so why its saying it cant find the kernel source??
ALSO:
I tried the commands:
apt-cache search kernel-source
it came back with about 4 items each, and they were for a wacom tablet / cpad
however when i try:
apt-cache search kernel-headers
I see an item called "linux-kernel-headers - Linux kernel headers for development"
so confused!
- 11-15-2006 #4If you are to use the Debian testing netinstall, then be aware that the appelation "kernel-headers" and the like have been replace by "linux-headers" and others similar. Your /etc/apt/sources.list file is fine.
Originally Posted by igiqi
For example, you can install your k7 optimized kernel like that (exactly like you said in your first post) :
If that is not the exact name, you can search for it like that :Code:apt-get update apt-get dist-upgrade apt-get install linux-image-2.6.17-2-k7
Then reboot into your new kernel, and finally install the headers (no need for the source unless you want to compile your own kernel) :Code:apt-cache search linux-image k7
Then you can install the NVIDIA drivers following those instructions (from my blog) :Code:apt-get install linux-headers-$(uname -r)
http://wizah.blogspot.com/2006/11/de...a-drivers.html
No need to use the beta drivers, as the latest stable driver now support AIGLX as well (if that is what you wanted)."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 11-15-2006 #5Just Joined!
- Join Date
- Nov 2006
- Posts
- 3
Thanks for the help!
when I reboot now grub shows me 4 boot options, two for each kernel...
can I somehow delete the old kernel or is that a bad idea?
- 11-15-2006 #6Yep, that's normal. Each kernel as "failsafe" (or single-user mode), which only loads a text only system.
Originally Posted by igiqi
Yes, you can delete it no problem. Verify which kernels are installed :
Originally Posted by igiqi
And delete the one you don't need anymore (given your not using it at that time). For example :Code:dpkg -l | grep linux-image
or something similar.Code:apt-get remove --purge linux-image-2.6.17-2-486
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
