[CentOS] How to rebuild the kernel

Wed Jun 3 15:19:52 UTC 2020
Peter Kjellström <cap at nsc.liu.se>

On Wed, 3 Jun 2020 20:24:35 +0530
Harsh chopra <serviceprovider.tester at gmail.com> wrote:

> Hi everyone,
> I am using Centos 7.8.2003 kernel 3.10
> . I was trying to build and install the latest linux stable kernel
> i.e. 5.7, I successfully did the process but accidentally messed it
> up by copying the .config file again in 5.7 kernel src,I tried to
> rebuild the 5.7 kernel but got make error as I was still on 5.7
> kernel.

You may want to have a look at elrepo and the kernel-ml package. Doing
this yourself can be painful.

/Peter