Skip to content

elevate: Document the upgrade entry not booted with GRUB_DEFAULT != saved - #883

Merged
andrewlukoshko merged 1 commit into
AlmaLinux:masterfrom
yuravk:elevate-grub-default-frequent-issue
Nov 12, 2026
Merged

andrewlukoshko merged 1 commit into
AlmaLinux:masterfrom
yuravk:elevate-grub-default-frequent-issue

Conversation

@yuravk

@yuravk yuravk commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Adds a Frequent Issues entry for systems where GRUB_DEFAULT in /etc/default/grub is not saved, for example GRUB_DEFAULT=0 from a cloud image or provider template.

On EL8 and EL9 based systems leapp upgrade saves the ELevate-Upgrade-Initramfs entry as the default one, but GRUB ignores the saved entry with such a setting and boots the regular kernel, so the upgrade never starts.

Changes:

  • ELevate Frequent Issues: new section "The system boots the old kernel instead of the ELevate-Upgrade-Initramfs entry" with the symptom, how to check the setting, the explanation, and two workarounds:
    • set GRUB_DEFAULT=saved and regenerate the GRUB configuration before leapp upgrade;
    • boot the upgrade entry once with grub2-reboot when the system has already been rebooted into the old kernel.
  • ELevate Quickstart Guide: a tip under the reboot step that links to the new section.

The issue was reproduced on a CentOS 7.9 -> AlmaLinux 8.10 -> AlmaLinux 9.8 upgrade chain (UEFI), and the grub2-reboot workaround was verified there.

Related: AlmaLinux/leapp-repository#158

…aved

Add a Frequent Issues section for systems where GRUB_DEFAULT in
/etc/default/grub is not "saved" (e.g. GRUB_DEFAULT=0 in cloud images):
on EL8 and EL9 the ELevate-Upgrade-Initramfs entry is saved as the
default one, but GRUB ignores the saved entry and boots the regular
kernel, so the upgrade never starts.

Describe how to check the setting, the workaround (GRUB_DEFAULT=saved
and grub2-mkconfig), and how to boot the upgrade entry once with
grub2-reboot when the system was already rebooted into the old kernel.
Link the section from the Quickstart Guide.

Related: AlmaLinux/leapp-repository#158
@andrewlukoshko
andrewlukoshko merged commit 1abf83e into AlmaLinux:master Nov 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants