Skip to content

Instantly share code, notes, and snippets.

@bcicen
Created March 25, 2014 20:32
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save bcicen/9770722 to your computer and use it in GitHub Desktop.
Save bcicen/9770722 to your computer and use it in GitHub Desktop.
# Use the high-colour menu system. This file, and the low-colour 'menu.c32'
# version, are provided by the syslinux package and can be found in the
# '/var/lib/tftpboot' directory. Copy it to '/var/lib/tftpboot'.
UI vesamenu.c32
# Time out and use the default menu option. Defined as tenths of a second.
TIMEOUT 2600
# Prompt the user. Set to '1' to automatically choose the default option. This
# is really meant for files matched to MAC addresses.
PROMPT 0
# Set the boot menu to be 1024x768 with a nice background image. Be careful to
# ensure that all your user's can see this resolution! Default is 640x480.
MENU RESOLUTION 1024 768
# This file must be in or under the '/var/lib/tftpboot' folder.
MENU BACKGROUND image.png
# These do not need to be set. I set them here to show how you can customize or
# localize your PXE server's dialogue.
MENU TITLE PXE Boot Server
# Below, the hash (#) character is replaced with the countdown timer. The
# '{,s}' allows for pluralizing a word and is used when the value is >= '2'.
##MENU AUTOBOOT Will boot the next device as configured in your BIOS in # second{,s}.
##MENU TABMSG Press the <tab> key to edit the boot parameters of the highlighted option.
##MENU NOTABMSG Editing of this option is disabled.
# The following options set the various colours used in the menu. All possible
# options are specified except for F# help options. The colour is expressed as
# two hex characters between '00' and 'ff' for red, green, blue and alpha,
# respectively (#RRGGBBAA).
# Format is: MENU COLOR <Item> <ANSI Seq.> <foreground> <background> <shadow type>
MENU COLOR screen 0 #80ffffff #00000000 std # background colour not covered by the splash image
MENU COLOR border 0 #ffffffff #ee000000 std # The wire-frame border
MENU COLOR title 0 #ffff3f7f #ee000000 std # Menu title text
MENU COLOR sel 0 #ff00dfdf #ee000000 std # Selected menu option
MENU COLOR hotsel 0 #ff7f7fff #ee000000 std # The selected hotkey (set with ^ in MENU LABEL)
MENU COLOR unsel 0 #ffffffff #ee000000 std # Unselected menu options
MENU COLOR hotkey 0 #ff7f7fff #ee000000 std # Unselected hotkeys (set with ^ in MENU LABEL)
MENU COLOR tabmsg 0 #c07f7fff #00000000 std # Tab text
MENU COLOR timeout_msg 0 #8000dfdf #00000000 std # Timout text
MENU COLOR timeout 0 #c0ff3f7f #00000000 std # Timout counter
MENU COLOR disabled 0 #807f7f7f #ee000000 std # Disabled menu options, including SEPARATORs
MENU COLOR cmdmark 0 #c000ffff #ee000000 std # Command line marker - The '> ' on the left when editing an option
MENU COLOR cmdline 0 #c0ffffff #ee000000 std # Command line - The text being edited
# Options below haven't been tested, descriptions may be lacking.
MENU COLOR scrollbar 0 #40000000 #00000000 std # Scroll bar
MENU COLOR pwdborder 0 #80ffffff #20ffffff std # Password box wire-frame border
MENU COLOR pwdheader 0 #80ff8080 #20ffffff std # Password box header
MENU COLOR pwdentry 0 #80ffffff #20ffffff std # Password entry field
MENU COLOR help 0 #c0ffffff #00000000 std # Help text, if set via 'TEXT HELP ... ENDTEXT'
### Now define the menu options
LABEL next
MENU LABEL Boot local
MENU DEFAULT
localboot
MENU BEGIN centos
MENU TITLE CentOS Installs
LABEL Previous
MENU LABEL ^Previous Menu
MENU EXIT
MENU SEPARATOR
MENU INCLUDE pxelinux.cfg/centos.menu
MENU END
MENU BEGIN ubuntu
MENU TITLE Ubuntu Install
LABEL Previous
MENU LABEL ^Previous Menu
MENU EXIT
MENU SEPARATOR
MENU INCLUDE pxelinux.cfg/ubuntu.menu
MENU END
MENU BEGIN arch
MENU TITLE Arch Install
LABEL Previous
MENU LABEL ^Previous Menu
MENU EXIT
MENU SEPARATOR
MENU INCLUDE pxelinux.cfg/arch/pxelinux.cfg/default
MENU END
LABEL memtest
MENU LABEL Run Memtest86+
LINUX /images/arch/memtest
LABEL hdt
MENU LABEL Run Hardware Detection Tool
COM32 pxelinux.cfg/arch/hdt.c32
LABEL partedmagic
MENU LABEL Boot Parted Magic
LINUX /images/memdisk
INITRD /images/pmagic.iso
APPEND iso raw
LABEL reboot
MENU LABEL Reboot
COM32 pxelinux.cfg/arch/reboot.c32
LABEL poweroff
MENU LABEL Power Off
COMBOOT pxelinux.cfg/arch/poweroff.com
@haseakash
Copy link

how to increase font size in 1024 768 resolution of syslinux.cfg????

@haseakash
Copy link

haseakash commented Feb 13, 2021

i'm currently having last problem of font size is looks so small in 1024 768 resolution.

can u send me font file on

haseakash2008@gmail.com

?

im waiting.

thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment