-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails when PXE booting #300
Comments
Yes. However, it seems this issue has never been fixed. Some same/similar issue reports about shim in the past: As for grub, Steven |
Thanks for adding the links related to this long time not solved issue |
I have the same problem. Are there any updates on this topic or plans for the future? Is this at least the fix for shim: 5f4fd53 |
Hello @Steinliiippp and others, is there any planned fix? Is 5f4fd53 a potential fix? I am hitting this in my setup as well. |
Trying to PXE boot rhel-8.3-x86_64-dvd.iso
PXE server = Serva 4.4.0
PXE environment = proxyDHCP
Test 1
NBP=\NWA_PXE\rhel-8.3-x86_64-dvd\EFI\BOOT\BOOTX64.EFI
Log:
While BOOTX64.EFI (shim) is correctly TFTP transferred when run it fails to properly TFTP request grubx64.efi; it asks for <grubx64.efi> while it should've requested <\NWA_PXE\rhel-8.3-x86_64-dvd\EFI\BOOT\grubx64.efi> instead.
Test 2
NBP=\NWA_PXE\rhel-8.3-x86_64-dvd\EFI\BOOT\BOOTX64.EFI
Just for testing now we copy grubx64.efi to \grubx64.efi (TFTP root); this cannot be done in production as different assets
would all try to get grub2 from the same root location.
Log:
Now grubx64.efi is found, TFTP transferred, and chainloaded and the client displays:
Fetching Network Image
but there's not any TFTP request and after a long delay grubx64.efi gives up providing a grub prompt
then we run
>set
grubx64.efi is taking the default router/server as "next-server"; while this is true in a pure DHCP server environment it is FALSE in a proxyDHCP environment; this variable must correctly take its value from the one included in the proxyDHCP offer.
Because of this issue The TFTP server located at 192.168.77.1 never receive any TFTP request and the whole booting process aborts.
We can also see the PXE path is considered /EFI/BOOT In this case grub was booted from the root \ and shim was booted from \NWA_PXE\rhel-8.3-x86_64-dvd\EFI\BOOT\ then it seems grub2 is hard-coded to retrieve its configuration from \EFI\BOOT without considering the relative path. This is not correct Grub2 and Shim should parse their invocation path and act accordingly when retrieving configuration files or chainloading to other EFI components.
Summarizing:
Shim: It seems it does not properly handles relative path on TFTP requests
Grub2: idem Shim and also does not properly handle proxyDHCP environments.
best,
Patrick
The text was updated successfully, but these errors were encountered: