📖 ~1 min read
Table of contents
Symptom & Impact
update-grub fails and new kernels do not appear correctly in boot menu.
Environment & Reproduction
Ubuntu 24.04 LTS with mixed bootloader settings or stale custom scripts in /etc/grub.d.
Root Cause Analysis
Invalid GRUB script snippets, filesystem detection issues, or broken os-prober output.
Quick Triage
Run grub-mkconfig manually and inspect errors from /etc/default/grub and /etc/grub.d scripts.
Step-by-Step Diagnosis
Validate /boot content, check mounted EFI partition, and test syntax of custom GRUB files.

Solution – Primary Fix
Correct invalid entries, reinstall grub-efi-amd64 on UEFI systems if needed, then run update-grub.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Boot from live media and use chroot recovery to reinstall GRUB when system is unbootable.
Verification & Acceptance Criteria
update-grub completes without errors and expected kernels appear in generated grub.cfg.
Rollback Plan
Restore backups of /etc/default/grub and custom scripts, then regenerate boot configuration.
Prevention & Hardening
Version-control GRUB customizations and validate changes before applying to production hosts.
Related Errors & Cross-Refs
initramfs generation failures and full /boot partition often accompany GRUB update problems.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu GRUB troubleshooting and boot recovery 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.