Getting started with linux-kernel
This section provides an overview of what linux-kernel is, and why a developer might want to use it.
It should also mention any large subjects within linux-kernel, and link out to the related topics. Since the Documentation for linux-kernel is new, you may need to create initial versions of those related topics.
Installation or Setup
Linux kernel source code can be found in https://www.kernel.org/
Download extract and enter to the kernel directory
Type these commands step by steps in your terminal.(Choose the appropriate version you needed instead of linux-4.7.tar.gz )
make menuconfig will select the features required for the kernel.
Old kernel configurations can be copied by using old
.config file and executing
make oldconfig. Also we can use
make xconfig as a graphical version of the configuration tool.
Build the dependencies, compile the kernel and modules.
Alternatively if you want to reconfigure the old kernel and re compile it, execute the below commands:
Then copy the kernel,
system.map file to
.conf file with the below content
lilo -v to modify the boot sector and reboot.