Linux Kernel

Back to Posts

About

The Linux operating system is everywhere, and it has completely changed the world in many ways. While most people use Mac or Windows for their laptops, the majority of servers powering the backend of the internet are running Linux. This means that understanding the Linux kernel more deeply can unlock some powerful insights. This series shows how to compile the kernel yourself from scratch. Note that these posts are quite old now - the exact steps may have changed.

Posts

1: How to Compile the Linux Kernel from Source

Linux is everywhere, and there are plenty of Linux distributions available providing great out-of-the-box features. But what happens when you need to make an intricate, low-level change to system functionality?

almost 6 years ago • March 3, 2018

2: Making Simple Modifications to the Linux Source

This post is about how I edited the kernel source, built it, broke it (several times), and finally made a simple change that produced an output in the system logs.

almost 6 years ago • March 23, 2018

3: Writing Your First Kernel Module

While writing a kernel module is definitely safer than modifying the source, it can still mess up your system a lot more than a user space application, so proceed with caution.

almost 6 years ago • March 29, 2018