Skip to content

Conversation

@HuijingHei
Copy link
Member

When doing switches from RHEL 10 to Fedora 43, after reboot, check
grub.cfg and bootuuid.cfg are in old vendor redhat, that will make
the machine fails to boot a second time since grub.cfg cannot be
found.

We need to install the 2 files under new vendor during updates.

See #1024

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request addresses an issue with grub.cfg placement during OS updates that involve a change in the EFI vendor. The logic added to src/efi.rs correctly handles this by installing the configuration for the new vendor and cleaning up the old one. The changes in src/grubconfigs.rs are beneficial refactorings that improve code quality. I've identified a couple of areas in src/efi.rs where the implementation could be made more robust and consistent with the project's design patterns.

@HuijingHei HuijingHei force-pushed the update-with-new-vendor branch 3 times, most recently from 9608769 to ed80429 Compare November 30, 2025 11:21
@HuijingHei HuijingHei marked this pull request as draft November 30, 2025 11:53
@HuijingHei HuijingHei force-pushed the update-with-new-vendor branch from ed80429 to 86f9b26 Compare November 30, 2025 11:53
When doing switches from RHEL 10 to Fedora 43, after reboot, check
grub.cfg and bootuuid.cfg are in old vendor redhat, that will make
the machine fails to boot a second time since grub.cfg cannot be
found.

We need to install the 2 files under new vendor during updates.

See coreos#1024
@HuijingHei HuijingHei force-pushed the update-with-new-vendor branch from 86f9b26 to 5982e19 Compare December 1, 2025 03:47
@HuijingHei HuijingHei marked this pull request as ready for review December 1, 2025 07:12
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.

1 participant