[root@centos9 ~]# mkdir -p /var/lib/tftpboot/pxe/pxelinux.cfg/
[root@centos9 ~]# ls /usr/share/syslinux/
altmbr.bin cpuid.c32 elf.c32 ifcpu64.c32 isolinux.bin libutil.c32 meminfo.c32 reboot.c32 vesainfo.c32
altmbr_c.bin cpuidtest.c32 ethersel.c32 ifcpu.c32 isolinux-debug.bin linux.c32 menu.c32 rosh.c32 vesamenu.c32
altmbr_f.bin debug.c32 gfxboot.c32 ifmemdsk.c32 kbdmap.c32 lpxelinux.0 pci.c32 sanboot.c32 vpdtest.c32
cat.c32 dhcp.c32 gptmbr.bin ifplop.c32 kontron_wdt.c32 ls.c32 pcitest.c32 sdi.c32 whichsys.c32
chain.c32 diag gptmbr_c.bin isohdpfx.bin ldlinux.c32 lua.c32 pmload.c32 sysdump.c32 zzjson.c32
cmd.c32 dir.c32 gptmbr_f.bin isohdpfx_c.bin lfs.c32 mboot.c32 poweroff.c32 syslinux64.exe
cmenu.c32 disk.c32 gpxecmd.c32 isohdpfx_f.bin libcom32.c32 mbr.bin prdhcp.c32 syslinux.c32
config.c32 dmi.c32 hdt.c32 isohdppx.bin libgpl.c32 mbr_c.bin pwd.c32 syslinux.com
cptime.c32 dmitest.c32 hexdump.c32 isohdppx_c.bin liblua.c32 mbr_f.bin pxechn.c32 syslinux.exe
cpu.c32 dosutil host.c32 isohdppx_f.bin libmenu.c32 memdisk pxelinux.0 vesa.c32
[root@centos9 ~]# cp /usr/share/syslinux/{pxelinux.0,ldlinux.c32,libcom32.c32,vesamenu.c32,libutil.c32} /var/lib/tftpboot/pxe/
[root@centos9 ~]# cat /var/lib/tftpboot/pxe/pxelinux.cfg/default
timeout 60
default vesamenu.c32
timeout 60
display boot.msg
# Clear the screen when exiting the menu, instead of leaving the menu displayed.
# For vesamenu, this means the graphical background is still displayed without
# the menu itself for as long as the screen remains in graphics mode.
menu clear
menu background splash.png
menu title CentOS Linux
menu vshift 8
menu rows 18
menu margin 8
#menu hidden
menu helpmsgrow 15
menu tabmsgrow 13
# Border Area
menu color border * #00000000 #00000000 none
# Selected item
menu color sel 0 #ffffffff #00000000 none
# Title bar
menu color title 0 #ff7ba3d0 #00000000 none
# Press [Tab] message
menu color tabmsg 0 #ff3a6496 #00000000 none
# Unselected menu item
menu color unsel 0 #84b8ffff #00000000 none
# Selected hotkey
menu color hotsel 0 #84b8ffff #00000000 none
# Unselected hotkey
menu color hotkey 0 #ffffffff #00000000 none
# Help text
menu color help 0 #ffffffff #00000000 none
# A scrollbar of some type? Not sure.
menu color scrollbar 0 #ffffffff #ff355594 none
# Timeout msg
menu color timeout 0 #ffffffff #00000000 none
menu color timeout_msg 0 #ffffffff #00000000 none
# Command prompt text
menu color cmdmark 0 #84b8ffff #00000000 none
menu color cmdline 0 #ffffffff #00000000 none
# Do not display the actual menu unless the user presses a key. All that is displayed is a timeout message.
menu tabmsg Press Tab for full configuration options on menu items.
menu separator # insert an empty line
menu separator # insert an empty line
label Install linux 9 [auto]
menu label ^Install centos Linux 9 [auto]
menu default
kernel centos9/vmlinuz
append initrd=centos9/initrd.img inst.ks=http://192.168.116.90/ks/c9_ks.cfg inst.stage2=http://192.168.116.90/centos9 quit
label Install linux 9 [manual]
menu label ^Install centos Linux 9 [manual]
kernel centos9/vmlinuz
append initrd=centos9/initrd.img inst.stage2=http://192.168.116.90/centos9 quit