I've been struggling with getting GRUB PXE to request the automatic list of config files, but nothing is working (I'm sniffing the network traffic). I can get GRUB to load the config just fine if I specify ``` configfile (tftp,192.168.100.10)/grub.cfg/$net_pxe_mac ``` in an embedded config file. I'm using proxyDHCP so I have to embed the target here instead of leveraging $net_default_server or $net_pxe_next_server which have the DHCP server listed.
After grub loads the modules from TFTP, it immediately jumps to loading `/boot/grub/grub.cfg` and not the list specified in the documentation [1] as ``` ‘(FWPATH)’/grub.cfg-7726a678-7fc0-4853-a4f6-c85ac36a120a ‘(FWPATH)’/grub.cfg-52-54-00-ec-33-81 ‘(FWPATH)’/grub.cfg-0A000082 ‘(FWPATH)’/grub.cfg-0A00008 ‘(FWPATH)’/grub.cfg-0A0000 ‘(FWPATH)’/grub.cfg-0A000 ‘(FWPATH)’/grub.cfg-0A00 ‘(FWPATH)’/grub.cfg-0A0 ‘(FWPATH)’/grub.cfg-0A ‘(FWPATH)’/grub.cfg-0 ‘(FWPATH)’/grub.cfg ``` According to a comment in `main.c`, it appears that it only tries this code path when entering normal mode from rescue mode. I've tried typing `normal` from the GRUB command line without any luck. I've set `debug=all` and I don't get any messages from `net.c` and only `disk.c` saying that `Opening 'tftp,192.168.100.10' failed`. I'm at a loss here and hope someone can shed some light since my searching is turning up empty. Thank you, Robert LeBlanc [1] https://www.gnu.org/software/grub/manual/grub/grub.html#Network ---------------- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel