954,234 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Kernal

What is meant by/ how to kernel configuration, compilation and installation ?

palanimepco
Newbie Poster
1 post since May 2011
Reputation Points: 10
Solved Threads: 0
 

1. Download and install the sources for your kernel.
2. Go to the kernel source code directory and run the command: make menuconfig
3. Running the configuration tool that is started with #2 above, configure your kernel with the options and drivers you need.
4. Save the configuration and exit tool - this generates the file .config in the kernel source directory.
5. Edit the Makefile to set the kernel name information. For some kernels, this would be the EXTRA_VERSION make variable.
6. Build the kernel with the 'make' command.
7. Install the headers, modules, and kernel with the commands: make headers_install modules_install install

In #7, you have to install either logged in as root, or with sudo.

This was the 30 second kernel build tutorial. Have fun, and good luck... :-)

rubberman
Posting Virtuoso
1,559 posts since Mar 2010
Reputation Points: 277
Solved Threads: 178
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: