-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grub2/efi: fix /boot/efi/EFI/redhat/grub.cfg #1229
base: main
Are you sure you want to change the base?
Conversation
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable.
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build. If you need a different version of leapp, e.g. from PR#42, use It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported,
See other labels for particular jobs defined in the Please open ticket in case you experience technical problem with the CI. (RH internal only) Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra. |
/packit copr-build |
@pirat89 for your kind eyes :) |
repos/system_upgrade/el8toel9/actors/fixgrubefiwrapper/actor.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el8toel9/actors/fixgrubefiwrapper/actor.py
Outdated
Show resolved
Hide resolved
repos/system_upgrade/el8toel9/actors/fixgrubefiwrapper/actor.py
Outdated
Show resolved
Hide resolved
When upgrading a UEFI system with /boot on Software Raid, the /boot/efi/EFI/redhat/grub.cfg wrapper is created with unexpected content, causing the system to land into 'grub>' prompt upon upgrade completion. jira: https://issues.redhat.com/browse/RHEL-36186 Signed-off-by: Renaud Métrich <[email protected]> Co-authored-by: Petr Stodůlka <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. as there are RHEL tickets for this, waiting with merge until it's approved for the release. @mkluson ping
/packit copr-build |
Hi! |
Hello @Macleykun, What version of leapp, and where do you use? |
hi! tottaly understand that the implications of merging this has consequences of everyone who uses leapp for rhel! I am planning on testing this patch to see if that remdiates the issue if that helps with testing/ensurance. |
@Macleykun please follow RHEL-36249 to have the latest information when it is supposed to land in RHEL. |
I see same scenario happening 8.10 EFI boot and GRUB 2.06 going to cli after the initramfs inplaceupgrade runs... I can manually boot the OS on RHEL 9.4 from the GRUB cli and I see indeed the /boot/efi/EFI/redhat/grub.cfg content is not as it should... I tried "injecting" the proposed actor before running the upgrade and I see it being executed, as per the logs, but still did not solve the issue and went again into GRUB 2.06 cli after reboot... |
May I ask how you were able to boot to rhel 9? I tried but couldn’t find clear steps how to do it from there. |
Hey @Macleykun , Sure you can ask... from the console on the GRUB cli you load the corresponding files and boot them running the following 3 commands: note: hd0 is the disk and gpt2 is the partition where /boot is located... the grub cli has tab autocomplete which will help you. |
Thanks this did the trick! Thank you so much for suggesting this! |
This PR can be closed as it's now properly fixed looking at the jira ticket! |
When upgrading a UEFI system with /boot on Software Raid, the
/boot/efi/EFI/redhat/grub.cfg
wrapper is created with unexpected content, causing the system to land intogrub>
prompt upon upgrade completion.jira: https://issues.redhat.com/browse/RHEL-36186 RHEL-36249