Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to embed simple script to ipxe.efi
2017-06-26, 22:28
Post: #1
how to embed simple script to ipxe.efi
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
Find all posts by this user
Quote this message in a reply
2017-06-27, 16:04
Post: #2
RE: how to embed simple script to ipxe.efi
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
Find all posts by this user
Quote this message in a reply
2017-07-24, 05:24
Post: #3
RE: how to embed simple script to 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/
Find all posts by this user
Quote this message in a reply
2017-07-24, 09:22
Post: #4
RE: how to embed simple script to ipxe.efi
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)