# Custom user conf file for dnsmasq
# Please add needed params only!
### Web Proxy Automatic Discovery (WPAD)
dhcp-option=252,"\n"
### Set the limit on DHCP leases, the default is 150
#dhcp-lease-max=150
### Add local-only domains, queries are answered from hosts or DHCP only
#local=/router/localdomain/
### Examples:
### Enable built-in TFTP server
enable-tftp
### Set the root directory for files available via TFTP.
#tftp-root=/opt/srv/tftp
tftp-root=/media/AiDisk_a1/pxe
#tftp-root=/media/o_p_t_img/wwwroot/default/pxe
### Make the TFTP server more secure
#tftp-secure
### Set the boot filename for netboot/PXE
#dhcp-boot=pxelinux.0
#dhcp-boot=ipxe.efi
#dhcp-boot=ipxe.pxe
#dhcp-boot=grldr
#dhcp-boot=ipxegrldr
#dhcp-boot=lpxelinux.0
:WinPEXP
kernel http://${next-server}:81/pxe/memdisk iso raw
initrd http://${next-server}:81/pxe/iso/winpexp.iso
boot
goto ${start}
:WinPE7
kernel http://${next-server}:81/pxe/memdisk iso raw
initrd http://${next-server}:81/pxe/iso/winpe7.iso
boot
goto ${start}
:WinPE8
kernel http://${next-server}:81/pxe/memdisk iso raw
initrd http://${next-server}:81/pxe/iso/winpe8.iso
boot
goto ${start}
:WinPE10
kernel http://${next-server}:81/pxe/memdisk iso raw
initrd http://${next-server}:81/pxe/iso/winpe10.iso
boot
goto ${start}
:WinPE11
kernel http://${next-server}:81/pxe/memdisk iso raw
initrd http://${next-server}:81/pxe/iso/winpe11.iso
boot
goto ${start}
#<End BIOS boot More WinPE Menu Options ===================
#============BIOS boot System Install Menu Options ======
:Install
menu BIOS boot System Install
item --key 1 Install_WinXP Boot Install WinXP (windowsxp.iso) ------------- Hotkey 1
item --key 2 Install_Win7 Boot Install Win 7 (windows7.iso) -------------- Hotkey 2
item --key 3 Install_Win8 Boot Install Win 8 (windows8.iso) -------------- Hotkey 3
item --key 4 Install_Win10 Boot Install Win10 (windows10.iso) ------------- Hotkey 4
item --key a Install_Win11 Boot Install Win11 (windows11.iso) ------------- Hotkey a
item --key b Install_Linux Boot Install Linux (linux.iso) ----------------- Hotkey b
item back Back to top menu...
iseq ${menu-default} menu-recovery && isset ${submenu-default} && goto menu-recovery-timed ||
choose selected && goto ${selected} || goto ${start}
menu clear
#自定义背景
menu background splash.png
#启动菜单抬头
menu title iPXE Boot Menu
##########配合menu.c32蓝色菜单
# menu color screen 37;40 #80ffffff #00000000 std
# menu color border 30;44 #400060 #00000000 std
# menu color title 1;36;44 #20ff00 #00000000 std
# menu color unsel 37;44 #ffff00 #00000000 std
# menu color hotkey 1;37;44 #ffffffff #00000000 std
# menu color sel 7;37;40 #ff0000 #20ff8000 all
# menu color hotsel 1;7;37;40 #e0400000 #20ff8000 all
# menu color disabled 1;30;44 #60cccccc #00000000 std
# menu color scrollbar 30;44 #20ff00 #00000000 std
# menu color tabmsg 31;40 #2000ff #00000000 std
# menu color cmdmark 1;36;40 #c000ffff #00000000 std
# menu color cmdline 37;40 #c0ffffff #00000000 std
# menu color pwdborder 30;47 #80ffffff #20ffffff std
# menu color pwdheader 31;47 #80ff8080 #20ffffff std
# menu color pwdentry 30;47 #80ffffff #20ffffff std
# menu color timeout_msg 37;40 #600000 #00000000 std
# menu color timeout 1;37;40 #40ffff #00000000 std
# menu color help 37;40 #c0ffffff #00000000 std
# menu color msg07 37;40 #90ffffff #00000000 std
#########
##########配合vesamenu.c32的类似centos 8安装程序菜单
menu vshift 2
menu rows 18
menu margin 8
#menu hidden
menu helpmsgrow 21
menu tabmsgrow 19
# 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 tabmsg Press [Tab] to edit options on menu items.
#########
menu separator # insert an empty line
#WinPE启动#
label WinPE
menu default #默认菜单
menu label [^1] WinPE ........... with HTTP or FTP-(winpe.iso)
kernel memdisk
#append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpe.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpe.iso
label MiniLinux
menu label [^2] MiniLinux ....... with HTTP or FTP-(minilinux.iso)
kernel memdisk
#append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux.iso
menu separator # insert an empty line
# More WinPE submenu
menu begin More_WinPE
menu title More WinPE...
text help
More WinPE...
endtext
label WinPE-XP
menu label [^1] WinPE XP ........ with HTTP or FTP-(winpexp.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpexp.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpexp.iso
label WinPE-Win7
menu label [^2] WinPE Win7 ...... with HTTP or FTP-(winpe7.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpe7.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpe7.iso
label WinPE-Win8
menu label [^3] WinPE Win8 ...... with HTTP or FTP-(winpe8.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpe8.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpe8.iso
label WinPE-Win10
menu label [^4] WinPE Win10 ..... with HTTP or FTP-(winpe10.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpe10.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpe10.iso
label WinPE-Win11
menu label [^5] WinPE Win11 ..... with HTTP or FTP-(winpe11.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/winpe11.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/winpe11.iso
menu separator # insert an empty line
label returntomain
menu label Return to ^Main menu
menu exit
menu end
# More MiniLinux submenu
menu begin More_MiniLinux
menu title More MiniLinux...
text help
More MiniLinux...
endtext
label MiniLinux1
menu label [^1] MiniLinux1 ... with HTTP or FTP-(minilinux1.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux1.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux1.iso
label MiniLinux2
menu label [^2] MiniLinux2 ... with HTTP or FTP-(minilinux2.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux2.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux2.iso
label MiniLinux3
menu label [^3] MiniLinux3 ... with HTTP or FTP-(minilinux3.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux3.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux3.iso
label MiniLinux4
menu label [^4] MiniLinux4 ... with HTTP or FTP-(minilinux4.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux4.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux4.iso
label MiniLinux5
menu label [^5] MiniLinux5 ... with HTTP or FTP-(minilinux5.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/minilinux5.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/minilinux5.iso
menu separator # insert an empty line
label returntomain
menu label Return to ^Main menu
menu exit
menu end
# Install Windows submenu
menu begin Install_Windows
menu title Install Windows...
text help
Install Windows...
endtext
label Install-Win7_x64
menu label [^1] Install Win7_x64 .. with HTTP or FTP-(windows7.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/windows7.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/windows7.iso
label Install-Win8_x64
menu label [^2] Install Win8_x64 .. with HTTP or FTP-(windows8.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/windows8.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/windows8.iso
label Install-Win10_x64
menu label [^3] Install Win10_x64 . with HTTP or FTP-(windows10.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/windows10.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/windows10.iso
label Install-Win11_x64
menu label [^4] Install Win11_x64 . with HTTP or FTP-(windows11.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/windows11.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/windows11.iso
menu separator # insert an empty line
label returntomain
menu label Return to ^Main menu
menu exit
menu end
# Install Linux or Unix submenu
menu begin Install_Linux_Unix
menu title Install Linux or Unix...
text help
Install Linux or Unix...
endtext
label Install_CentOS
menu label [^1] Install CentOS .... with HTTP or FTP-(centos.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/centos.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/centos.iso
label Install_Deepin
menu label [^2] Install Deepin .... with HTTP or FTP-(deepin.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/deepin.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/deepin.iso
label Install_Ubuntu
menu label [^3] Install Ubuntu .... with HTTP or FTP-(ubuntu.iso)
kernel memdisk
# append iso raw initrd=ftp://99.99.99.1/AiDisk_a1/pxe/iso/ubuntu.iso
append iso raw initrd=http://99.99.99.1:81/pxe/iso/ubuntu.iso
menu separator # insert an empty line
label returntomain
menu label Return to ^Main menu
menu exit
menu end
label diskgenius
menu label [^2] Diskgenius for dos
kernel memdisk
# append initrd=ftp://99.99.99.1/AiDisk_a1/pxe/images/diskgenius.img
append initrd=http://99.99.99.1:81/pxe/images/diskgenius.img
label winpw
menu label [^3] Windows password clear
kernel memdisk
# append initrd=ftp://99.99.99.1/AiDisk_a1/pxe/images/winpw.img
append initrd=http://99.99.99.1:81/pxe/images/winpw.img
menu separator # insert an empty line
label returntomain
menu label Return to ^Main menu
menu exit
menu end
menu separator # insert an empty line
#本地启动#
label local
menu label [^L] Boot from local disk
localboot 0xffff
label reboot
menu label [^R] Reboot
menu immediate
kernel /reboot.c32
label poweroff
menu label [^H] halt
menu immediate
kernel /poweroff.c32