Hi,

A while ago I submitted a bug to the GRUB bugtracker with a patch
attached to fix the PXE module
(https://savannah.gnu.org/bugs/index.php?24661). It doesn't seem to
have been noticed so I'm submitting it here too.

The PXE TFTP API only allows one open connection at any one time. The
PXE module in GRUB2 has code to handle this in some places, but in
other places (grub_pxefs_open and grub_pxefs_close) it is not handled,
causing errors. For example, when I try to insert the multiboot module
from PXE, that wants to insert the _multiboot module, resulting in the
PXE call failing because 2 connections are being made.

I've attached a patch which handles this properly in grub_pxefs_open()
and grub_pxefs_close(). With these changes made I can successfully
load GRUB2 from PXE, and boot a kernel.

Thanks,
Alex

Attachment: grub2-r1886-pxe-fixup.patch
Description: Binary data

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to