How do I choose which kernel to boot on CloudLinux 7?

CloudLinux 7 brings GRUB2 with the totally new scheme of booting the kernels, the old edit file is not applicable anymore. The correct way to boot needed kernel (use an older kernel, CentOS kernel one or debug kernel) is with grub2-set-default command.

1. Take a needed kernel with :

Note that the position of a menu entry in the list is denoted by a number starting with zero, so we are numbering it especially in a correct way.

2. Set to boot needed kernel with command line:

 

Use the following command to check currently selected kernel to be booted:

 

More information about customizing GRUB2 could be found in official RedHat guide.

Leave a Reply

Your email address will not be published. Required fields are marked *