92 lines
2.4 KiB
Plaintext
Executable File
92 lines
2.4 KiB
Plaintext
Executable File
#!ipxe
|
|
|
|
###################### MAIN MENU ####################################
|
|
|
|
:start
|
|
menu iPXE boot menu
|
|
item --gap -- -------------------------- Debian 11.7 --------------------------------
|
|
item debian11auto Debian 11.7 Server Auto Install
|
|
item debian11manual Debian 11.7 Server Manual Install
|
|
item --gap -- -------------------------- Debian 12.1 --------------------------------
|
|
item debian12auto Debian 12.1 Server Auto Install
|
|
item debian12manual Debian 12.1 Server Manual Install
|
|
item --gap -- ------------------- Windows Install Capture Restore -------------------
|
|
item winpe Windows Install Capture Restore
|
|
item --gap -- ------------------------------ WinPE ----------------------------------
|
|
item hbpe Hiren's Boot PE
|
|
item --gap -- --------------------------- Parted Magic ------------------------------
|
|
item pmagic Parted Magic
|
|
item --gap -- --------------------------- Netboot.xyz -------------------------------
|
|
item netboot Netboot.xyz
|
|
item --gap -- ------------------------- Advanced options ----------------------------
|
|
item config Configure settings
|
|
item shell Drop to iPXE shell
|
|
item reboot Reboot computer
|
|
item
|
|
item exit Exit iPXE and continue BIOS boot
|
|
choose --default debianauto selected || goto cancel
|
|
goto ${selected}
|
|
|
|
:cancel
|
|
echo You cancelled the menu, dropping you to a shell
|
|
|
|
:shell
|
|
echo Type 'exit' to get the back to the menu
|
|
shell
|
|
set menu-timeout 0
|
|
set submenu-timeout 0
|
|
goto start
|
|
|
|
:failed
|
|
echo Booting failed, dropping to shell
|
|
goto shell
|
|
|
|
:reboot
|
|
reboot
|
|
|
|
:exit
|
|
exit
|
|
|
|
:config
|
|
config
|
|
goto start
|
|
|
|
:back
|
|
set submenu-timeout 0
|
|
clear submenu-default
|
|
goto start
|
|
|
|
############ MAIN MENU ITEMS ############
|
|
|
|
:debian11auto
|
|
chain http://192.168.1.50/debian-11.7/boot-auto.ipxe || goto failed
|
|
goto start
|
|
|
|
:debian11manual
|
|
chain http://192.168.1.50/debian-11.7/boot-manual.ipxe || goto failed
|
|
goto start
|
|
|
|
:debian12auto
|
|
chain http://192.168.1.50/debian-12.1/boot-auto.ipxe || goto failed
|
|
goto start
|
|
|
|
:debian12manual
|
|
chain http://192.168.1.50/debian-12.1/boot-manual.ipxe || goto failed
|
|
goto start
|
|
|
|
:winpe
|
|
chain http://192.168.1.50/winpe/boot.ipxe || goto failed
|
|
goto start
|
|
|
|
:hbpe
|
|
chain http://192.168.1.50/hbpe/boot.ipxe || goto failed
|
|
goto start
|
|
|
|
:pmagic
|
|
chain http://192.168.1.50/pmagic/boot.ipxe || goto failed
|
|
goto start
|
|
|
|
:netboot
|
|
dhcp
|
|
chain --autofree http://boot.netboot.xyz || goto failed
|
|
goto start |