Changing the default boot kernel selects which installed kernel the server should use at its next startup. This may be needed after a CloudLinux conversion or when selecting a confirmed working kernel for recovery.
Check the installed system
Use administrator access and confirm the CloudLinux release, boot-loader arrangement and provider boot settings. Keep console access and a known working kernel available before making a change.
For a supported installation managed through GRUB and grubby, inspect the current and installed kernels:
uname -r
grubby --default-kernel
grubby --info=ALLReview the full kernel paths, entries and required initramfs files. Kernel naming and LVE module requirements vary by CloudLinux release; selecting any filename containing lve is not a universal test of suitability.
Select a confirmed installed kernel
Record the existing default path. Replace the example below with the exact suitable kernel= path shown in the installed entries:
grubby --set-default /boot/vmlinuz-EXACT-INSTALLED-VERSIONDo not run the placeholder unchanged. Do not select an arbitrary numeric menu position or remove the working fallback kernel.
Verify before and after reboot
Check the saved default:
grubby --default-kernelThis changes the next boot choice, not the currently running kernel. Reboot only in the approved maintenance window, then check uname -r, required CloudLinux features and application services through the console if necessary.
If the provider supplies its own kernel or the system uses a different boot arrangement, use that platform’s supported procedure rather than assuming the local GRUB setting controls startup.