PXEInstallMultiDistro
An explantion of the example /var/lib/tftpboot/pxelinux.cfg/default:
- DEFAULT vesamenu.c32 — We are informing PXELINUX to load this file. We could substitute a menu entry instead, or boot a kernel and initrd.
- TIMEOUT 600 — 600 seconds will pass before action is taken on the users behalf if no keys are pressed
-
ONTIMEOUT — Indicates what action is performed when the TIMEOUT expires. In the above example, we are loading the menu itemBootLocal. If after 5 minutes the user does not choose a menu item, the system will attempt to boot to a local hard disk.
- PROMPT 0 — Will allow PXELINUX to prompt us for input
- MENU INCLUDE pxelinux.cfg/pxe.conf — Load additional configuration options from another file. The can be included in the same file, however, I find it a neater look to the menu configuration to place some options in other files.
- NOESCAPE 1 — Do not allow the user to escape out of the menu system.
- MENU BEGIN — Start a new menu
- MENU TITLE — Display title for menu
- LABEL — Refer to this menu by label
- MENU LABEL — Display title for label
- TEXT HELP — Optional text displayed on screen when highlighted
- ENDTEXT — End of optional text
- MENU SEPARATOR — Inserts a blank non-selectable line
- MENU INCLUDE — Include items from another file and create a menu from them. This is used to create the sub-menus
- MENU END — End of a menu item
Example pxelinux.cfg/pxe.conf:
MENU TITLE PXE Server MENU BACKGROUND pxelinux.cfg/logo.png NOESCAPE 1 ALLOWOPTIONS 1 PROMPT 0 menu width 80 menu rows 14 MENU TABMSGROW 24 MENU MARGIN 10 menu color border 30;44 #ffffffff #00000000 std
The above pxe.conf file is configuring
- The colors used
- The width
- The number of items displayed
- The backgroud image
https://help.ubuntu.com/community/PXEInstallMultiDistro