📖 ~1 min read
Table of contents
Symptom & Impact
Installed kernel package is present but missing from GRUB menu entries.
Environment & Reproduction
Appears after kernel updates where grub config generation fails.
uname -r
dpkg -l | grep '^ii linux-image'
grep menuentry /boot/grub/grub.cfg | head
Root Cause Analysis
grub configuration is stale, wrong boot disk is active, or /boot is not updated correctly.
Quick Triage
Verify installed kernels and check grub-mkconfig output.
ls -1 /boot/vmlinuz-*
sudo update-grub
Step-by-Step Diagnosis
Check boot mode and grub device targets.
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
lsblk -f
sudo efibootmgr -v 2>/dev/null || true

Solution – Primary Fix
Regenerate grub config and reinstall bootloader on the active boot disk.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo update-grub
sudo grub-install /dev/sda
sudo reboot

Solution – Alternative Approaches
Set explicit saved default to the latest installed kernel entry.
grep menuentry /boot/grub/grub.cfg
sudo grub-set-default 0
sudo update-grub
Verification & Acceptance Criteria
After reboot, system runs expected kernel and GRUB menu lists new entry.
uname -r
grep menuentry /boot/grub/grub.cfg | head -n 20
Rollback Plan
Select previous kernel from Advanced options and pin temporarily.
sudo apt-mark hold linux-image-generic linux-headers-generic
Prevention & Hardening
Monitor kernel postinst hooks and keep /boot capacity healthy.
df -h /boot
ls /etc/kernel/postinst.d
Related Errors & Cross-Refs
Related errors include grub-install warnings and missing initrd references.
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
GRUB documentation and Ubuntu kernel update workflow references.
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.