Skip to content
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

[rhcos-4.7] buildextend-live: add stub grub.cfg to efiboot.img #2414

Merged
merged 2 commits into from Sep 7, 2021
Merged

[rhcos-4.7] buildextend-live: add stub grub.cfg to efiboot.img #2414

merged 2 commits into from Sep 7, 2021

Conversation

bgilbert
Copy link
Contributor

@bgilbert bgilbert commented Sep 3, 2021

05ba856 added an ESP to the ISO's hybrid GPT to help EFI systems that
won't boot El Torito from a hard disk.  However, when booting from the
ESP, GRUB won't read the grub.cfg from the main ISO image, and just drops
to a grub prompt.  Add a stub grub.cfg that points GRUB to the right
place.

Fixes: 05ba856 ("buildextend-live: hybridize live ISO for UEFI boot")
Fixes: coreos/fedora-coreos-tracker#724
Fixes: coreos/fedora-coreos-tracker#953
At runtime it's immediately overwritten by the GRUB menu, but it shows up
in console logs.  This will help validate automated tests.
@cgwalters cgwalters merged commit 4e23d8f into coreos:rhcos-4.7 Sep 7, 2021
@bgilbert bgilbert deleted the uefi/rhcos-4.7 branch September 7, 2021 16:08
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.

None yet

2 participants