iPXE EFI with F12 prompt does not work with custom built boot loader. It does work with bios boot loader.
Here is my script
#!ipxe
prompt --key 0x197e --timeout 4000 Press F12 for network boot... || goto no_shell
dhcp
login
chain
http://${username:uristring}:${p.../menu.ipxe
exit
:no_shell
exit
(2016-02-11 04:24)power270 Wrote: [ -> ]iPXE EFI with F12 prompt does not work with custom built boot loader. It does work with bios boot loader.
What do you mean by "does not work"?
Michael
When I hit the F12 key it just exits the script.
(2016-02-11 17:06)power270 Wrote: [ -> ]When I hit the F12 key it just exits the script.
It looks as though the function key definitions are missing from the ansi_sequences[] table in interface/efi/efi_console.c. You could try adding the relevant definitions there.
If you get it working, please send a patch to ipxe-devel@lists.ipxe.org.
Thanks,
Michael
I'm a ipxe newbie, but if you point me in the right direction I'll have try at it.
(2016-02-12 02:44)power270 Wrote: [ -> ]I'm a ipxe newbie, but if you point me in the right direction I'll have try at it.
It's a small change. Already
done!
Michael
Thanks Michael
Rebuilt ipxe.efi and it works perfectly.