[Home] [Credit Search] [Category Browser] [Staff Roll Call] | The LINUX.COM Article Archive |
Originally Published: Wednesday, 20 June 2001 | Author: Subhasish Ghosh |
Published to: develop_articles_tutorials/Development Tutorials | Page: 2/2 - [Printable] |
Compiling, Configuring and Installing a Kernel
Linux.com contributor Subhasish Ghosh gives us 27 simple steps to working with the Red Hat Linux Kernel. Learn how to compile a kernel to your liking, and then actually get it running!
|
<< Page 2 of 2 | |
Step 9: Perform a "ls -al" from within the path:
Step 10: You will see a file called: "Makefile". Makefile is an extremely important file for this entire Compilation process. So, make sure you create a backup of this file, by using:
Step 11: Now, do: (from within Step 12: Go to line EXTRAVERSION and change it to something you like. For example, I changed EXTRAVERSION=-22, to EXTRAVERSION= "-22ghosh". You are free to name it any way you wish. Step 13: Save and exit the file.
Step 14: All the following steps should be done from within: Step 15: Then type in: "make bzImage modules". This could take some time, go and have a drink while it compiles all the necessary files. I usually take a nap during this time, cause I do all this stuff in the middle of the night.
Step 16: After this step is over, a "bzImage" file would be created in the directory
Step 17: From within
Step 18: Then type in: Step 19: Then type: "make modules_install" and press enter. You would see all the modules being installed in a new customized directory.
Step 20: Now type:
Step 21: Then, type in:
Step 22: Save and exit. Please note that you can also change the entries in the
Step 23: Type in: Step 24: Read all the info on the screen. If there are no errors, well, the job's all done. Congratulations!
Step 25: Reboot the system by typing in: Step 26: In the start-up screen, press Tab (or Control-X, if you have the LILO start-up screen), and you can see the entry: GhoshKernel along with the other pre-existing entries. Step 27: Type in: GhoshKernel and press enter. The fully working Customized Kernel will boot your system.
So, you have a fully working Customized Kernel working on your system. After logging in as "root", type in: That's all there is to it. In case this doesn't work out or you guys and gals face problems, make sure you e-mail me at: auspicious_blessingsindia@hotmail.com for questions and suggestions. I would really like to hear from you and help you and I hope this article helps everyone out there who wants to run a fully working Customized Kernel.
| |
<< Page 2 of 2 |