Create menu

Synopsis

  menu [--name <name>] [--delete] [<title>]

Examples

Create and display a simple menu

  menu Please choose an operating system to boot
  item fedora   Fedora Linux
  item win7     Windows 7
  choose os

Create a named menu

  menu --name iscsi Select iSCSI target

Delete a named menu

  menu --name iscsi --delete

Description

Create a menu with the specified name and title. If no name is specified, the default (unnamed) menu will be created.

If the --delete option is specified, the menu will be deleted.

Command status

Success The menu was successfully created
Failure The menu was not successfully created

See also

Notes

Menus are automatically deleted by the choose command. You do not generally need to explicitly delete a menu.

cmd/menu.txt ยท Last modified: 2012/03/28 23:41 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.