Hi, Chris

Just add "option vendor-class-identifier "PXEClient";" to your dhcpd.conf file, 
it will enable option 60.

Best Regards,
Siyuan


From: Chris Cuthbert [mailto:[email protected]]
Sent: Tuesday, August 19, 2014 4:20 AM
To: Edk2 Devel
Subject: [edk2] PXE Boot Error

Hi All,

I am trying to boot an ARM core using PXE boot and I am following the steps 
mentioned in this Linaro wiki 
(https://wiki.linaro.org/LEG/Engineering/Kernel/UEFI/UEFI_Network_Booting). 
Most importantly, the DHCP server configuration part of it. It says:

Add these lines to /etc/dhcp/dhcpd.conf:

allow booting;

allow bootp;



subnet 192.168.0.0 netmask 255.255.255.0 {

  range 192.168.0.3 192.168.0.253;

}



host rtsm {

  hardware ethernet 00:02:f7:ef:5c:f5;

  fixed-address 192.168.0.20;

  option host-name "rtsm";

  next-server 192.168.0.1;

  filename "efi/grub.efi";

}

When I do configure the UEFI boot manager to boot, I get error in 
"PxeBcSelectBootPrompt" function at the following check:

  if (Packet->OfferType != DHCP4_PACKET_TYPE_PXE10) {
    return EFI_NOT_FOUND;
  }


Seems like the DHCP server is offering "DHCP4_PACKET_TYPE_DHCP_ONLY" and not 
"DHCP4_PACKET_TYPE_PXE10".
After looking around, it seems I need to enable option 060 in DHCP server. I 
have not been able to find a way to configure
the DHCP to allow PXE boot. The most popular configuration change suggested was 
"option vendor-class-identifier "PXEClient";".

Any suggestions ?
Thanx.

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to