Linux.com

Home Linux Community Forums Programming and Development Kernel Development Help getting started with Kernel Programming

Help getting started with Kernel Programming

Link to this post 09 Feb 13

Hello everyone, I want to learn Linux Kernel Programming, and I am searching for good and updated resources to read and understand how things work. I want to begin with compiling and using a kernel first and then making changes to it. However, I after searching a lot, I could not find any up-to-date procedure of compiling the kernel.
I would preferably like to do the experiments on my USB drive rather than hard disk so that my laptop will be safe. I have came across some terms like LILO and would also like to know how to compile the kernel, set up it on my USB drive and set LILO on the same so that I can start experimenting...
I have downloaded Linux 3.7.6 kernel tar.bz2 file and now trying to compile it somehow by following these guides,
http://www.berkes.ca/guides/linux_kernel.html
http://www.rapo.org/linux/BootableLinuxUSBDriveHowTo.html
However first one itself says its not elaborated enough, and second one uses Knoppix, which I have not heard of...
Any help about getting things started will be of a great help... :)

Link to this post 10 Feb 13

Hi Shaaraddalvi,

I am not sure how much you know of Linux and what you want to achieve, but maybe the following links will help you get started :

Introduction related documents:
http://www.wikihow.com/Compile-the-Linux-Kernel
http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming

General Kernel Coding building help on the linux kernel:
http://kernelnewbies.org/KernelHacking

A document explaining the Linux Kernel Development Process and how to participate:
http://www.linuxfoundation.org/content/how-participate-linux-community

Cheers,
Shin

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board