iPXE undionly.kpxe - add an .elf file

Thread Starter

Ab Abrams

Joined Apr 27, 2017
25
Hello guys,

I have embedded my own "test.ipxe" file into the default undionly.kpxe file with the command:
"make bin/undionly.kpxe EMBED=../test.ipxe"
and then I have copy the undionly.kpxe file into the default TFTP directory:
cp bin/undionly.kpxe /var/lib/tftboot/undionly.kpxe

I would like to add and execute an .elf file into the code of the test.ipxe, so can be executed before boot to the operating system.

Does anyone knows how I can implemented an "mytest.elf" file as a command into the undionly.kpxe ?

I tried the command:

boot mytest.elf

but nothing happened.

Any thoughts?
 
Top