Feature #23861

Template pxegrub2_chainload issue with UEFI + SuSE

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

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


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:
  • OpenSuSE:

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

<   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


#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:

<   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