Table of Contents

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.