View Full Version : Kernal Compile
28th May 2004, 04:39 PM
I was wondering for some info on how to recompile a kernel..maybe some links or maybe even if someone has a how-to doc or something...yes i have searched google and i have found some but i havent found that one that makes 100% to me so i guess i was looking for more info on it. thanks in advance
28th May 2004, 05:01 PM
Please understand that I'm not trying to make fun of you, but if you can't spell kernel right, don't try to compile one. You don't need to compile your own kernel, in most cases, its a waste of time. Tell us why you want to do this, and I'll tell you why you shouldn't.
28th May 2004, 05:03 PM
i just basically want to learn how to do it nothing really major about it..one of those things just want to learn more about i guess
28th May 2004, 05:09 PM
There are a lot of good tutorials on how to compile 2.6 kernel.. just use google :)
But you have to know a lot about your computer hardware...
Usually it's like this:
1.) (get kernel source, under /usr/src)
2.) make gconfigure (menuconfig, xconfig),(you really need to know what you are doing here!)
3.) make (compile source)
4.) make modules
5.) make modules_install
6.) make install (add to grub menu)
28th May 2004, 05:15 PM
first download the source code for you
www.kernel.org is a good start
then uncompress it in a subfolder of
it a standard location beter stick to the tradition
enter inside the directory and type
this crates for you a .config file that shall be based on your running kernel then
navigate through the bazilliions of options enabling and disabling the function you want
then if it is a 2.4 kernel type
if 2.6 go directly to the next steps:
(and sip a good looong coffe)
(note the capital "I" has to be preserved when iusuing the command)
better have some reading before...
you can do some bad bad minstakes...
28th May 2004, 05:15 PM
Although it is true you most likely don't need to compile your own kernel, learning to do so can really increase your linux knowledge.
A good, yet slightly out-of-date document for building your own kernel can be found at:
The gist of it is:
in order to understand these commands you need to read the guide.
28th May 2004, 05:19 PM
ghaefb, don't you make bzImage???
I know the order of compilation may vary, but you really surprise me!!
is it a mistake or does it really works also this way??
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.