[CentOS] Recompiling the Kernel for CentOS 6.5

Earl A Ramirez earlaramirez at gmail.com
Sat Mar 29 05:35:19 UTC 2014


On 28 March 2014 21:14, Johnny Hughes <johnny at centos.org> wrote:

> On 03/28/2014 04:06 PM, Johnny Hughes wrote:
> > On 03/28/2014 01:36 PM, Akemi Yagi wrote:
> >> On Fri, Mar 28, 2014 at 11:27 AM, Saket Sinha <saket.sinha89 at gmail.com>
> wrote:
> >>
> >>> It was pointed out the CentOS-devel mailing list the below link-
> >>> http://wiki.centos.org/HowTos/Custom_Kernel
> >>>
> >>> which allows me to create a rpm for my customized kernel and install
> it.
> >>>
> >>> Now my question is there no method where in I can apply a kernel
> >>> source tree from kernel.org(maybe 3,x version) and install it on
> >>> Centos ?
> >> No problem. Just use kernel-ml/lt from ELRepo:
> >>
> >> http://elrepo.org/tiki/kernel-ml
> >> http://elrepo.org/tiki/kernel-lt
> >>
> >> Akemi
> > I would point out that I have personally been using kernel-ml on all my
> > main CentOS-6 workstations for months (maybe even years :D) without
> > major problems.
> >
> > The only issue I have ever really had was getting the NVIDIA drivers to
> > compile post 3.13.x:
> >
> >
> http://centosnow.blogspot.com/2014/02/kernel-ml-nvidia-drivers-and-313x-kernel.html
> >
> > You might also need a newer acpi .. check the known issues here:
> >
> > http://elrepo.org/tiki/kernel-ml
> >
> > But, on both my ThinkPad T520 and Dell M4500N laptops, the kernel-ml
> > works great for me.
> >
>
> One last thing if using a kernel named anything other than kernel ...
>
> edit the file /etc/sysconfig/kernel and find:
>
> DEFAULTKERNEL=kernel
>
> and change it to:
>
> DEFAULTKERNEL=kernel-ml
>
> if you want the system to automatically enable the new kernel-ml upon
> install (in /boot/grub/grub.conf)
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
Thanks Johnny,

I have been editing /boot/grub/grub.conf for kernel-ml for as long as I can
remember.

-- 
Kind Regards
Earl Ramirez



More information about the CentOS mailing list