DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Pristine Kernel Source Sources Debian Compile 2.4 2.6 Package Image Yaird Initrd Change New Switch 2.6.15 2.6.16 Torvald Linus Tree
Pristine kernel sources are available from http://www.kernel.org/pub/linux/kernel/ . These are the kernel sources straight from Linus Torvald's own tree. These are the authentic, pristine kernel sources. Debian is very easy to compile a kernel for.
Install a debian kernel image for the kernel you will be compiling. This helps with the compile. Reboot with the new Debian kernel you installed, which should be as close to the pristine sources version as you can get. For instance, if you download linux-220.127.116.11.tar.bz2 You should have installed kernel-image-2.6-686 or something similar, from the Debian archive.
Install yaird to build initrd.
(A word about Debian patches. The Debian patches are kernel modules. The kernel images that come with Debian contain modules that are not part of the official kernel tree. There are packages in Debian, albeit only a few, which require one, or more of these patches. The Debian development team believes these modules are stable enough for release, even though the Linus Torvalds development team has not officially made them part of the stable kernel yet. There are kernel source packages, which are not part of the Debian distribution, but, nevertheless are available from the Debian repository, which are pristine. For some unknown reason Debian claims the Debian kernel patches will only work with a pristine kernel source package from Debian's CVS repository. This is not true. You can use a pristine kernel from www.kernel.org, with or without the Debian kernel patches, and it will work fine. Some packages available in Debian won't work right without the patches, though.)
Download pristine kernel sources from the above link. Use the .tar.bz2 archive.
If you are presently running a 2.6 kernel you can leave it alone. Copy the pristine sources to:
The name of the debian patches package changes frequently, and Debian goes out of their way to tell people these patches only work with a kernel from Debian, but the patches work with a pristine kernel, also.
Debian patches are kernel modules that are available, but not part of the official kernel release. The developers at Debian think these modules are good enough to use, so they include them with the Debian kernel images. If you want your nice, pristine kernel with everything available that is available in a Debian kernel, you use the Debian patches. I have compiled a pristine kernel without the patches, and everything worked right, but there are some things available in Debian that won't work with a pristine kernel.
So, since you've gone to the effort of laying this thing out so clearly, how about a brief commentary on including the Debian patch(es), or is that just a matter of getting the kernel source from Debian instead of from kernel.org?