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.
I installed debian from a netinstall
but no kernel sources were installed
I need current kernel sources to install nvidia driver
uname -r shows:
2.6.7-1-386
apt-get can't locate this version
How do I get source for the kernel that was installed from netinstaller cdrom?
Just curious...but can anybody tell me the advantage of installing the kernel the Debian way rather than just going over to kernel.org and downloading the source? I have never quite understood this...except perhaps maybe a person can upgrade to a newer kernel and not have to change their config?
I think it is just easier, because kpkg copies kernel and other files like initrd.img automatically with just one command. It also edited grub for me.
Another thing it uses kernel-image. I think this means that kpkg compiles kernel in some kind of debianish preferred way. But I don't know any technical details.
Thats interesting...the concept of compiling the kernel in a Debian type manner. I know Gentoo offers their own kernel as well. Matter of fact (I'm sorta new here so forgive me) but I think there is even a kernel associated with this site isn't there?
At any rate, I wonder what sort of optimizations could be passed?? I mean it's all the same code...is it not? Perhaps it is not. That would certainly be interesting. Doesn't Red Hat tweak the kernel as well? I guess that is the advantage of Open Source. I'll have to try it the Debian way one of these times. I have been compiling kernels for so long just downloading the source and rolling with it that anything else feels strange. It's like when Grub came out. I had used Lilo for so long that anything else was just irritating. I have grown to deal with Grub. Still like Lilo better though.
Installing the stock kernel image is quite easy and makes upgrading the kernel equally easy. You may wish to add hardware at a later date and, chances are, this will be added via discover. Make sure you have the matching source and headers, used for compiling 3rd party kernel modules, and you won't go wrong with the Nvidia installer, which makes graphics updates easy, too.
I have tried custom kernels, compiling from Debian sources, but haven't really noticed a huge speed difference from stock.
The Debian kernel has patches applied to it. The patches are also available to download via apt-get. You can download the stock kernel from kernel.org and apply the Debian patches manually to get the same kernel that is available as source via apt-get.
One warning I received when upgrading the kernel is that the Debian patches enable the cramfs filesystem and initrd won't work without cramfs. If you want to use initrd, you are probably better off using the debian kernel source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.