[solved] My first menu. "menu: command not found"
|
2012-10-11, 18:40
(This post was last modified: 2012-10-12 21:34 by stefanlasiewski.)
Post: #1
|
|||
|
|||
[solved] My first menu. "menu: command not found"
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. |
|||
2012-10-11, 20:54
Post: #2
|
|||
|
|||
RE: My first menu. "menu: command not found"
The menu command was introduced in commit https://git.ipxe.org/ipxe.git/commit/f5c...dec93eaf58 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).
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)