Project

General

Profile

Actions

Feature #23861

closed

Template pxegrub2_chainload issue with UEFI + SuSE

Added by Martin Zimmermann almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
Difficulty:
Triaged:
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"]
Actions #1

Updated by Martin Zimmermann almost 6 years 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"]
Actions #2

Updated by Anonymous almost 6 years ago

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

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.

Actions #3

Updated by The Foreman Bot almost 6 years ago

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

Updated by Lukas Zapletal almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • translation missing: en.field_release set to 353
Actions

Also available in: Atom PDF