[CentOS] kernel-lt from ELRepo vs. GRUB: define default boot kernel

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed May 16 14:37:12 UTC 2018


On Wed, May 16, 2018 at 4:17 PM, Anand Buddhdev <anandb at ripe.net> wrote:

> On 16/05/2018 12:10, Nicolas Kovacs wrote:
>
> Bonjour Nicolas!
>
> > So right now I have two kernels on my machine, the 4.4.129 and the
> > 4.4.131. How do I configure GRUB so that on the next reboot, it defaults
> > to the 4.4.131 kernel? I knew how to do this with LILO under Slackware,
> > but GRUB is a very different beast.
>
> The easiest way is to use the "grubby" tool to set your default kernel.
> Look at the man page of grubby for details.
>
> Regards,
> Anand
>
>

This is helpful too and still valid for CentOS 7.5:
https://wiki.centos.org/HowTos/Grub2

Gianluca



More information about the CentOS mailing list