#------------------------------------------------------------------------------- # Name..........: pxelinux.cfg/default # Version.......: 0.1 # Description...: Simple Menu Configuration File for SysLinux pxelinux.0. # Target OS.....: Linux (PXE Environment) # Requires......: pxelinux.0,menu.c32 [,memdisk,lkernels:vmlinuz1,initrd1.img] # Last Modified.: 2008y-05m-30d # Author........: Sean Blankenship # Copyright.....: Copyright © 2008 Specialized Systems. All rights reserved. # Notes.........: None. #------------------------------------------------------------------------------- default menu.c32 timeout 300 allowoptions 0 prompt 0 menu title PXE Boot System #------------------------------------------------------------------------------- label local0 menu label ^Boot Normal localboot 0 #------------------------------------------------------------------------------- F1 filename F2 filename ...etc... F9 filename F10 filename F11 filename F11 filename Displays the indicated file on the screen when a function key is pressed at the boot: prompt. This can be used to implement pre-boot online help (presumably for the kernel command line options.) Please see the section below on DISPLAY files. When using the serial console, press to get to the help screens, e.g. <2> to get to the F2 screen. For F10-F12, hit , B, C. For compatiblity with earlier versions, F10 can also be entered as 0. ++++ DISPLAY FILE FORMAT ++++ DISPLAY and function-key help files are text files in either DOS or UNIX format (with or without ). In addition, the following special codes are interpreted: = = ASCII 12 Clear the screen, home the cursor. Note that the screen is filled with the current display color. = = ASCII 15 Set the display colors to the specified background and foreground colors, where and are hex digits, corresponding to the standard PC display attributes: 0 = black 8 = dark grey 1 = dark blue 9 = bright blue 2 = dark green a = bright green 3 = dark cyan b = bright cyan 4 = dark red c = bright red 5 = dark purple d = bright purple 6 = brown e = yellow 7 = light grey f = white Picking a bright color (8-f) for the background results in the corresponding dark color (0-7), with the foreground flashing. Colors are not visible over the serial console. filename = = ASCII 24 If a VGA display is present, enter graphics mode and display the graphic included in the specified file. The file format is an ad hoc format called LSS16; the included Perl program "ppmtolss16" can be used to produce these images. This Perl program also includes the file format specification. The image is displayed in 640x480 16-color mode. Once in graphics mode, the display attributes (set by code sequences) work slightly differently: the background color is ignored, and the foreground colors are the 16 colors specified in the image file. For that reason, ppmtolss16 allows you to specify that certain colors should be assigned to specific color indicies. Color indicies 0 and 7, in particular, should be chosen with care: 0 is the background color, and 7 is the color used for the text printed by SYSLINUX itself. = = ASCII 25 If we are currently in graphics mode, return to text mode. .. .. = ASCII 16-23 These codes can be used to select which modes to print a certain part of the message file in. Each of these control characters select a specific set of modes (text screen, graphics screen, serial port) for which the output is actually displayed: Character Text Graph Serial ------------------------------------------------------ = = ASCII 16 No No No = = ASCII 17 Yes No No = = ASCII 18 No Yes No = = ASCII 19 Yes Yes No = = ASCII 20 No No Yes = = ASCII 21 Yes No Yes = = ASCII 22 No Yes Yes = = ASCII 23 Yes Yes Yes For example: Text modeGraphics modeSerial port ... will actually print out which mode the console is in! = = ASCII 26 End of file (DOS convention). = = ASCII 7 Beep the speaker. ++++ COMMAND LINE KEYSTROKES ++++ The command line prompt supports the following keystrokes: boot specified command line erase one character erase the whole line display the current SYSLINUX version erase one word force text mode .. help screens (if configured) equivalent to F1..F10 interrupt boot in progress interrupt boot in progress