Hello,

grub.efi gives me an error during PXE UEFI booting and I'm not sure how to fix
it. My grub.efi has debug messages enabled, since it was built with the
command "grub2-mknetdir --debug-image=all". Here is what it prints on the screen
of the client:

    kern/disk.c:196: Opening `tftp,10.100.128.1'...
    disk/efi/efidisk.c:476: opening tftp
    kern/disk.c:281: Opening `tftp,10.100.128.1' failed.
    kern/disk.c:295: Closing `tftp'.
    error: File not found
    Entering rescue mode...

I'm guessing the error is from the function grub_efidisk_open in
disk/efi/efidisk.c,
http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/disk/efi/efidisk.c?h=2.02#n469

but if that's true, then from the code of that function is seems like the only
devices that can be opened are floppy disks, cdroms and hard disks. Opening a
device named "tftp" like mine cannot possibly succeed.

The command I used to produce my grub.efi image is the following:

    grub2-mknetdir --net-directory=tftp-gym \
                   --install-modules=crypto \
                   --modules=tftp \
                   --debug-image=all

Any hint on how to troubleshoot this further?


Thanks,
Giovanni Gherdovich

PS: Please CC me when replying to this message, as I'm not subscribed to the
    help-grub mailing list.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to