On 25.04.2012 22:20, Richard Chan wrote: > Hi Vladimir and list > > "The information from EFI network is used only if efinet is embed in > grub.efi. Otherwise you have to call net_bootp manually" > > 1. How do you "embed" efinet.mod into the image so that > grub_efi_net_config is called? > I presume you mean somthing different from preload of module? No, just preload > ./grub-core/kern/efi/init.c: if (!*device && grub_efi_net_config) > > ./grub-core/net/drivers/efi/efinet.c: grub_efi_net_config = > grub_efi_net_config_real; > > The latter function populates the NIC structure from PXE, but in my case, it > is > not being called. Network config is started only if root is on network. Otherwise network config is considered unnecessary and skipped. > > 2. For net_bootp, I can see the BOOTP request/reply but GRUB will > timeout setting the IP address. It is as if it doesn't see the BOOTP > reply. Do you have full dumps? It's possible GRUB rejects them for some field mismatch (not all bootp servers are good).
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel