Project

General

Profile

Actions

Support #20029

open

CentOS 7 - UEFI PXE Grub2 not working correctly from a fresh install

Added by Zachariah Dzielinski almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
TFTP
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

Operating System
CentOS Linux 7.3.1611

Infrastructure
UEFI HPE Proliant Gen 9 (Non Secure Boot)

Description
Configuring the DHCP server to point PXE clients at `grub2/grubx64.efi` as stated in various documentation pages does not work correctly out of a fresh foreman installation with tftp enabled.

From what I can tell, it seems that the default grubx64.efi is not correctly loading the grub.cfg files and/or the grub.cfg-macaddr files.

I have been able to successfully "fix" the issue by moving the contents of grub2 into /var/lib/tftboot and links grub2 to /var/lib/tftboot. The grub2 link will sometimes be washed away however when installing new foreman plugins, so this needs to be done often.

I believe that this is an issue with the foreman-installer itself.

Steps to reproduce

Actions #1

Updated by Lukas Zapletal almost 7 years ago

  • Tracker changed from Bug to Support

Hello,

I believe your TFTP server is Ubuntu/Debian or other non-Red Hat system. In that case, you need to either patch your Grub2 or install foreman-bootloaders package which provides RH patched Grub2 which loads MAC addresses.

https://github.com/theforeman/foreman-bootloaders

Please report back if this helped.

Actions

Also available in: Atom PDF