Affected versions: Oracle Linux 10

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Kernel update completes partially and next boot may fail.

Environment & Reproduction

Occurs when boot partition space is low or dracut configuration is inconsistent.

dnf upgrade -y kernel
df -h /boot
rpm -qa | grep kernel

Root Cause Analysis

Insufficient boot space, stale kernels, or module config conflicts block image build.

Quick Triage

Gather dracut and transaction error context.

journalctl -b -p err | tail -n 80
ls -lh /boot
dnf history info last

Step-by-Step Diagnosis

Validate dracut settings and kernel artifacts.

dracut --print-cmdline
lsinitrd /boot/initramfs-$(uname -r).img | head
grep -R . /etc/dracut.conf.d
Illustrative mockup for oracle-linux-10 β€” terminal_or_shell
dracut and kernel update diagnostics β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Free space, regenerate initramfs, and rebuild boot config.

Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

dnf remove -y $(dnf repoquery --installonly --latest-limit=-2 -q)
dracut -f --regenerate-all
grub2-mkconfig -o /boot/grub2/grub.cfg
Illustrative mockup for oracle-linux-10 β€” logs_or_journal
journal logs around initramfs failure β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Temporarily hold kernel updates until cleanup is complete.

dnf versionlock add kernel*
dnf reinstall -y kernel-core

Verification & Acceptance Criteria

Initramfs exists for active and fallback kernels and boot entries are valid.

ls -lh /boot/initramfs-*
grubby --info=ALL
journalctl -k -n 50

Rollback Plan

Revert to previous kernel and boot entry if startup regressions appear.

grubby --set-default /boot/vmlinuz-previous
reboot

Prevention & Hardening

Monitor boot partition capacity and prune stale kernels routinely.

Automate patch management and compliance across your fleet with our DevOps services.

df -h /boot
dnf repoquery --installonly --latest-limit=-3 -q

May coincide with bootloader misconfiguration and disk full conditions.

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

Oracle Linux kernel update and dracut troubleshooting 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.