iPXE discussion forum
is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key (/showthread.php?tid=8129)



is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key - lvii - 2016-07-12 06:19

Hi,

Is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key.

When I use PXElinux boot, I could test kernel options by edit the PXE boot menu entry.

But I can not find a shortcut key to edit iPXE menu like PXElinux.

thx


RE: is there a shortcut key to edit iPXE menu entry like PXElinux's "TAB" key - NiKiZe - 2016-08-02 19:08

There is no way to edit commands in iPXE, mostly due to that it uses a scripting language, and there is no mapping between "a menu entry" and a "boot command" (isseq are used in most cases together with goto) most boots are done by multiple lines so does not make much sense.

For the particular use case you could use the read command to emulate this behavior. maybe in combination with prompt to get a timeout.

maybe something like this
Code:
set extracmd keymap=us
echo -n commandline && read extracmd
kernel ..... ${extracmd}