Project

General

Profile

Feature #23861

Template pxegrub2_chainload issue with UEFI + SuSE

Added by Martin Zimmermann 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 (diff)
Added by Martin Zimmermann 3 months ago

Refs #23861 - pxegrub2 chainload support for OpenSuSE and SLES

History

#1 Updated by Martin Zimmermann 3 months 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 3 months 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 3 months 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 3 months ago

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

Also available in: Atom PDF