Question
This article provides the steps to set the default kernel with the grubby command.
Answer
The most efficient way of setting up your default kernel is to use it's index in the boot menu entry.
- Access the server's command line as the
rootuser via SSH or Terminal in WHM. -
List the installed kernels.
# grubby --info=ALL | grep -E "^kernel|^index"
- Copy the full path of the kernel you want to set as default.
-
Use the
grubbycommand with the--set-defaultoption to set the default kernel.# grubby --set-default-index=0
Additional resources
Making persistent changes to the GRUB boot loader: Changing the default boot entry with grubby
Comments
0 comments
Article is closed for comments.