Building the Linux kernel from source code is an interesting way to begin your kernel development journey! Rest assured, it's a long and arduous journey, but that's the fun of it, right? The kernel build topic itself is large enough to merit being divided into two chapters, this one and the next.
The primary purpose of this chapter and the next is to describe in detail how exactly you can build a Linux kernel from scratch, from source code. In this chapter, you will initially learn how to download a stable vanilla Linux kernel source tree onto a guest Linux Virtual Machine (VM) (by vanilla kernel, we mean the plain and regular default kernel source code released by the Linux kernel community on its repository, https://www.kernel.org). Next, we will learn a little bit about the layout of the kernel source code...