iPXE discussion forum

Full Version: how to embed simple script to ipxe.efi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
My setup is chainboot with legacy undionly.kpxe with an embedded script with legacy bios settings.
Script:
#!ipxe
dhcp
chain http://chainboot.mydomain.com

lt works fine, but now I need uefi. It boots ok, but loops, so I tried to embedd this bootscript with

make /bin/ipxe.efi EMBED=script.ipxe

but it only says nothing to do. I found a second Makefile.efi, but I don't know how to use it.

Am I doing right or is there another way with UEFI boot to embed a script.

all the best
make bin/ipxe.efi

is the same as

make bin-i386-pcbios/ipxe.efi

(you can see this described at http://ipxe.org/appnote/buildtargets )

What you want is make bin-x86_64-efi/ipxe.efi
(2017-06-26 22:28)chainloadee Wrote: [ -> ]Hello,
My setup is chainboot with legacy undionly.kpxe with an embedded script with legacy bios settings.
Script:
#!ipxe
dhcp
chain http://chainboot.mydomain.com

lt works fine, but now I need uefi. It boots ok, but loops, so I tried to embedd this bootscript with

make /bin/ipxe.efi EMBED=script.ipxe

but it only says nothing to do. I found a second Makefile.efi, but I don't know how to use it.

Am I doing right or is there another way with UEFI boot to embed a script.

all the best

Maybe you can try this website, I find it quite useful.
https://rom-o-matic.eu/
(2017-07-24 05:24)yanshuo1990 Wrote: [ -> ]Maybe you can try this website, I find it quite useful.
https://rom-o-matic.eu/

If you can build yourself do that instead. rom-o-matic is good to have if you can't build locally, but it has some issues, one being that the version is not correct due to missing git.
Reference URL's