Introduction
This article provides the steps to set the default kernel with the grubby
command.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- List the installed kernels.
find /boot -name 'vmlinuz*'
- Copy the full path of the kernel you want to set as default.
- Use the
grubby
command with the--set-default
option to set the default kernel.grubby --set-default /boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64
Please note that "/boot/vmlinuz-4.18.0-553.5.1.el8_10.x86_64" must be replaced with the full path to the kernel you want to be the default.
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.