[solved] My first menu. "menu: command not found" - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: [solved] My first menu. "menu: command not found" (/showthread.php?tid=6065) |
[solved] My first menu. "menu: command not found" - stefanlasiewski - 2012-10-11 18:40 I am attempting to write my first iPXE menu using https://gist.github.com/2234639 as an example. However, when I write a basic menu, I get the error "menu: command not found". Since this is my first attempt, I'm not sure if this is a syntax error, missing feature, a failure to load a library, etc. What am I missing? Code: #!ipxe Ah! I had an old version of undionly.kpxe . I am not sure what version I had, since I am not sure how to print the version string. I updated to the latest version of iPXE from git://git.ipxe.org/ipxe.git , built from source, and the new version works. RE: My first menu. "menu: command not found" - robinsmidsrod - 2012-10-11 20:54 The menu command was introduced in commit https://git.ipxe.org/ipxe.git/commit/f5c644cbe156573d23824a5c7046d1dec93eaf58 which is dated 2012-03-30, and slightly improved 2012-04-28 to support the --default parameter on choose. You also need to ensure #define MENU_CMD is on in src/config/general.h (which is the default). |