RedHat 6 Kernel Compilation
hi
i have installed Redhat 6 , i am trying to compile the kernel. i found some instruction over the net but rpm packages were build. can anyone post an HOWTO compile the kernel on RedHat 6 |
Could you please explain why exactly you're trying to recompile the kernel? If RHEL 6 is installed you have a proper working compiled version of a kernel. If you need to extend functionality to the kernel and actually have a need for recompiling you need to grab the source from http://kernel.org or RedHat's Repositories, as they also publish the source RPM's.
Otherwise you should be set - when you install // update from an RPM this is a pre-compiled version of a kernel. |
Looking through the .config file there are many (EXPERIMENTAL) selections within the config and I would ask why? Experimental by nature seems risky to include, and "Preemption Model (No Forced Preemption (Desktop)) --->" is the default setting...why not set it to "Server"? Also, if there is a large amount of memory, why is it recommended to use 65536 for "(4096) Low address space to protect from user allocation" yet default is 4096? There are many settings that make me ask why. AMD vs Intel and why both are present?
I need a better understanding:-( |
Quote:
As misconfiguration pointed out, you already have a kernel so there is no need to do this. The crucial step, I guess, is make menuconfig, as this allows you to customize the kernel. Bear in mind that the compilation is quite time consuming and will use a few GB (4-5 GB) |
how to upgrade the kernel image after compilation?
|
Quote:
Just install a new kernel. This way you can test the new kernel and go back to the old one if you so wish |
All times are GMT -5. The time now is 05:25 AM. |