Now that I have written so much about Linux kernel, I realize that many people reading those articles do not even know how to compile them. There are obviously many reasons why you need to compile your Linux kernel, such as:

- To patch your kernel.
- You have a university assignment.
- You are doing a course "Linux Kernel" as an undergraduate.
- You have coded your own device driver a device that isn’t supported yet.
- You think that there is some better way of process scheduling or memory management technique and you want to implement it.
- To try a new version of Linux kernel.

To start, you should have kernel code to compile (a fairly logical step). You can download it or copy it from /usr/src directory, make modifications and save it back to some directory.

 

Click here to Read the Full Article