iPXE discussion forum
Where to put my boot.ipxe file? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Where to put my boot.ipxe file? (/showthread.php?tid=7792)



Where to put my boot.ipxe file? - k2teknik - 2015-08-15 23:33

In my pxelinux.cfg I have this:
Code:
LABEL iPXE
MENU LABEL iPXE
  LINUX memdisk
  INITRD ipxe.iso
  APPEND iso
This works fine, I get a IPXE promt and can fire these commands:
Code:
dhcp
chain http://boot.ipxe.org/demo/boot.php

But I would like to be able to use a boot.ipxe file for scripting, but where can put this and how to tell iPXE to use it?

Thanks.


RE: Where to put my boot.ipxe file? - robinsmidsrod - 2016-11-02 10:46

You need to put it either on a TFTP or HTTP server that you host yourself. For examples of boot menu ipxe scripts, see here: http://ipxe.org/examples

Also, unless you're married to your pxelinux setup, just use ipxe.pxe/undionly.kpxe directly from TFTP instead of loading pxelinux.0 first.