On Aug 21, 2014, at 8:13 PM, Chris Cuthbert <nd6...@hotmail.com> wrote:

> Hi Siyuan,
> 
> I can get to Grub prompt but I don't see it trying to load any more files, 
> like the boot menu. Does GRUB V2.02 support PXE boot by default or does it 
> need some configuration option ?
> How does Grub know that it is in network boot mode and not booting from some 
> disk ?
> How does it know the IP address of TFTP server ?

The EFI Application (OS loader) can check the Loaded Image protocol, on the 
ImageHandle, to figure out where it was loaded from. 

Thanks,

Andrew Fish

> Thanx,
> Narinder Dhillon
> 
> 
> From: siyuan...@intel.com
> To: edk2-devel@lists.sourceforge.net; nd6...@hotmail.com
> Subject: RE: [edk2] UEFI PXE Boot Question
> Date: Fri, 22 Aug 2014 02:54:03 +0000
> 
> Hi, Chris
>  
> The UEFI network driver doesn’t need to be a runtime driver. The typical PXE 
> boot process is as below: first, GRUB will use UEFI stack to download the 
> required files to boot at least a minimum OS kernel, then load it. The OS 
> kernel continues to use UEFI stack to download until it get all the files to 
> start a network stack. After that, OS will call ExitBootServices() service to 
> terminate the UEFI stack, then start its own network.
>  
> Best Regards,
> Siyuan
>  
> From: Chris Cuthbert [mailto:nd6...@hotmail.com] 
> Sent: Friday, August 22, 2014 9:20 AM
> To: Edk2 Devel
> Subject: [edk2] UEFI PXE Boot Question
>  
> Hi All,
>  
> I am trying to PXE boot Linux kernel and I can get GRUB to load and run and 
> get to grub prompt. How is GRUB supposed to get the boot menu from the tftp 
> server ?
> If it is using UEFI network driver to talk to tftp server, does that mean the 
> UEFI network driver needs to be a UEFI runtime driver ?
>  
> Thanx,
>  
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to