[CentOS] compiling centos 6.5 linux-2.6.32-431.el6-kernel

Thu Jun 19 07:35:52 UTC 2014
Ned Slider <ned at unixmail.co.uk>

On 19/06/14 05:57, Dilip Basavaraju wrote:
> Dear all,
>
>              I have compiled the  linux-2.6.32-431.el6-kernel with the following steps
>
> 1.    Make mproper
>
> 2.    Make menuconfig
>
> 3.    Make
>
> 4.    Make modules
>
> 5.    Make modules_install
> The compilation is successful but there is a huge change in the size of the .ko generated compared to original .ko from the rpm.
>
> Please suggest the steps to compile the centos  linux-2.6.32-431.el6-kernel and use the modules and to build the kernel.rpm
>

It's extremely well documented in the 3 kernel articles on the Wiki:

http://wiki.centos.org/HowTos#head-c4dbf9ecb355694c78175c7eaad46a2472a3849b