📖 ~1 min read
Table of contents
Symptom & Impact
After patching, reboot returns to an older kernel, leaving fixes unapplied in production.
Environment & Reproduction
Observed on hosts with custom GRUB preferences or previous rollback history.
uname -r && rpm -q kernel
Root Cause Analysis
GRUB default points to a pinned older entry or BLS ordering changed after updates.
Quick Triage
List bootloader entries and current default selection.
sudo grubby --info=ALL | grep -E 'index=|kernel='
Step-by-Step Diagnosis
Map running kernel to GRUB entry, inspect /etc/default/grub and BLS files.
sudo grub2-editenv list

Solution – Primary Fix
Set newest kernel as default and regenerate GRUB config if needed.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo grubby --set-default /boot/vmlinuz-$(rpm -q --qf '%{VERSION}-%{RELEASE}.%{ARCH}
' kernel | tail -1) && sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Solution – Alternative Approaches
Use BLS pinning policies or automation to enforce default kernel selection post-update.
Verification & Acceptance Criteria
After reboot, uname -r reports target kernel and workload tests pass.
Rollback Plan
Select prior kernel in GRUB and restore previous default if regressions appear.
Prevention & Hardening
Automate kernel-default checks in patch pipelines and alert on mismatch after reboot.
Automate patch management and compliance across your fleet with our DevOps services.
Related Errors & Cross-Refs
Related to failed dracut builds, BLS entry corruption, and secure boot policy issues.
Related tutorial: View the step-by-step tutorial for oracle-linux-10.
View all oracle-linux-10 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
RHEL bootloader and kernel lifecycle documentation.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.