Feature #23861

Template pxegrub2_chainload issue with UEFI + SuSE

Added by Martin Zimmermann about 1 month ago. Updated 10 days ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Templates
Target version:1.19.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:1.17.1
Pull request:https://github.com/theforeman/community-templates/pull/482

Description

When a newly provisioned SuSE node boots for the first time, after the initial installation, the chainload Grub2 EFI from ESP fails (because the grubx64.efi file can't be found).

The SuSE UEFI bootloader can be found at this location:

  • SLES:
    ($root)/EFI/sles/grubx64.efi
  • OpenSuSE:
    ($root)/EFI/opensuse/grubx64.efi

This problem can be fixed easily by extending the "paths" array within the pxegrub2_chainload template e.g.:

6c6
<   paths = ["fedora", "redhat", "centos", "debian", "ubuntu", "Microsoft", "EFI"]
---
>   paths = ["fedora", "redhat", "centos", "debian", "ubuntu", *"sles"*, *"opensuse"*, "Microsoft", "EFI"]

Associated revisions

Revision 6d972eeb
Added by Martin Zimmermann about 1 month ago

Refs #23861 - pxegrub2 chainload support for OpenSuSE and SLES

History

#1 Updated by Martin Zimmermann about 1 month ago

Please note, that in my example there are some * characters, which should't be there (my mistake) ... so the array is supposed to look more like this:

6c6
<   paths = ["fedora", "redhat", "centos", "debian", "ubuntu", "Microsoft", "EFI"]
---
>   paths = ["fedora", "redhat", "centos", "debian", "ubuntu", "sles", "opensuse", "Microsoft", "EFI"]

#2 Updated by Michael Moll about 1 month ago

  • Difficulty deleted (trivial)
  • Tracker changed from Bug to Feature

please open a pull request: https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/snippet/pxegrub2_chainload.erb

maybe pxegrub_chainload.erb also can get extended.

#3 Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/482 added

#4 Updated by Lukas Zapletal about 1 month ago

  • Legacy Backlogs Release (now unused) set to 353
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF