Create Your Own Customized Linux Kernel
Here are three articles that explain and describe the
process
of creating your own Customized Linux Kernel. You
may want to do this
for a number of reasons, including these: to access extra
functionality, to remove unneeded features, to obtain better
performance, to assist with testing new Linux patches,
or because you want
to know and understand more about how the Linux kernel works and is
compiled. I think you will discover that it's fun to build a kernel
that is created only your CPU and supports only the
hardware and specific features that you want it to.
Linux:
Custom Kernels Trim Fat and Tune Performance
This
is a 2 page article that describes, at a high level, the process of
customizing a Linux kernel for your needs. With not a lot of effort,
you can build a better Linux kernel than what came with your Linux
distribution, and one that's tuned to your hardware's
needs. You
can get freshly-baked kernels and the latest patches from Kernel.org.
These are called vanilla kernels because this is where the original,
unmodified kernels live. Then you need to assemble your build
environment. Both Fedora and Debian make this easy.
Linux:
Custom Kernels with Debian and Fedora
Fedora and
Debian make building a custom kernel and packaging it for rollout a
simple process. This article shows you how to use Debian
and Fedora to customizing your Linux kernel. It explains and
reviews some of the many kernel compilation options you need
to
consider.
Compiling
a Custom Linux Kernel
- Intro
and Gathering Information
- Part
2 - Preparing the Source Tree
- Part
3 - Configuring the Kernel Source
- Part
3 Continued - Configuring the Kernel
- Part
4 - Building the Kernel
- Part
5 - Installing the Kernel
- Part
6 - Editing the Boot Loader Configuration
- Reboot
the Machine (and Enjoy)
- Appendix
A - Patching the Kernel Source
- Appendix
B - Building a 2.6 Kernel
- Appendix
C - Additional Notes as 2.6 Develops
- Appendix
D - Using the Initrd
This article describes in a detailed, step-by-step approach,
how to build a custom Linux kernel for your
server or desktop machine. You will learn how to optimize the
kernel for your computer's processor, and make the kernel only
support the drivers and
features that you require. You also may want to add support
for a
Linux feature that is missing from your distribution's kernel,
or
to get a some hardware to work correctly. Your finished Linux
kernal will be smaller in size, it will run faster, and it will have
all the
fixes and
enhancements found in the latest stable version.
Here
are some more Linux
Kernel Resources:
- Debian
Kernel
Handbook
- KernelNewbies.org
-
Kernel.org
-
You may want to try the dphys-
kernel-packages package for creating configuation files for
automating the creation of custom kernels
Technorati Tags: linux kernel, compile linux, compile linux kernel, linux kernel how to, custom linux kernel
Popularity: 16% [?]
Related Posts:
