Some servers need a different grubx64.efi than others

Problem: When I’m installing servers I sometimes need to switch the grubx64.efi file in the /var/lib/tftpboot/grub2 directory. If I don’t do this, then I get a Can't allocate initrd as shown in this screenshot

Currently I’ve collected several grubx64.efi’s but I would like to reduce these to one.
image

I don’t understand why or how this error is occurring but I’m hoping to learn more so that I can reduce the number of grubx64.efi’s. Any relevant log or documentation would help a lot.

Expected outcome: Keep only one grubx64.efi

Foreman and Proxy versions: 3.7.0

Foreman and Proxy plugin versions: /

Distribution and version: Rocky Linux 8.8

Other relevant data:

The problem is that at the current state Foreman just takes this files from the underlying operating system but it would need the specific one for operating systems.

This and ideas on how to solve this are detailed in Add SecureBoot support for arbitrary distributions, but be warned it is a quite long topic. To make it short and simple the Project is aware of the problem and working on a solution.

1 Like

Thank you for the link to the documentation and the explanation. I should find some free time this weekend :smile:

Is this about FDI?

This issue sounds familiar: Error: Can't allocate initrd