[ipxe-devel] Script to run ipxe

Christian Nilsson nikize at gmail.com
Mon Apr 24 17:04:29 UTC 2017


I'm gonna assume that Image is a Linux kernel, and that you are still
using efi, then you must also add initrd=initrd.ext2.gz as an
argument. This is to let the kernel know which data from EFIFS it
should load.

See this forum post for a better and more full explanation:
http://forum.ipxe.org/showthread.php?tid=8058&pid=12647#pid12647

On Mon, Apr 24, 2017 at 6:59 PM, Shubham Mittal <shubham.mittal at nxp.com> wrote:
> Hi all,
>
>
> Thanks a lot Frank and Christian for your great suggestions over how to
> build 808610d3.efi with proper arguments and handle infinite dhcp requests.
>
>
> Will you please tell me how to make a script file for ipxe that can provide
> initrd and kernel image.
>
>
> i have tried the following:
>
>
> install.ipxe
>
> #!ipxe
>   initrd initrd.ext2.gz
>   chain Image <some arguments i need to pass>
>   boot
>
>  With the above file, i am able to get the kernel up on the uefi shell but
> it can not get initrd which has been downloaded by above script.
>
> Actually i need some examples on how to pass various arguments and how can
> "Image" use the initrd.ext2.gz
>
>
> Thanks in advance.
>
>
> Regards,
>
> Shubham
>
>
>



More information about the ipxe-devel mailing list