The post title begs the question: Why should you customize the Linux kernel? There are three main reasons why you might want to do this:
- Performance: by removing unnecessary features and by tuning the kernel to work on your particular machine, you could make your machine more performant;
- Patching: rather than waiting for an official updated of the kernel, you can apply any patches you are interested in anytime;
- Additional features: not everything is compiled into the kernel by default, mostly to keep it as lean as possible. If there is something you really use, however, you can add it to your kernel so the features are built in.
Perhaps surprisingly, building your own Linux kernel is far from a complicated thing. You just need a lot of patience as the build process can last quite a bit. Having said this, let’s take a look at how you can customize your Linux kernel.