104 lines
2.8 KiB
Plaintext
104 lines
2.8 KiB
Plaintext
#!ipxe
|
|
|
|
# Round up our variables and display on the screen from boot.ipxe.cfg
|
|
echo Manufacturer: ${manufacturer}
|
|
echo Platform: ${platform}
|
|
echo Deployment Server: ${deploysvr}
|
|
echo TFTP URL: ${tftp-path}
|
|
echo HTTP URL: ${http-path}
|
|
|
|
# console --picture http://${deploysvr}/background.bmp --bottom 90
|
|
|
|
:mainmenu
|
|
menu Technolog iPXE Menu
|
|
|
|
item --default exit Boot From Local Hard Disk/Continue BIOS Boot
|
|
item --gap Main Menu
|
|
item wds Windows Deployment Services
|
|
item wdsefi Windows Deployment Services EFI
|
|
item osmenu Operating Systems
|
|
item utilmenu System Tools and Utilities
|
|
# item kbe59 081722 Test [Default x64]
|
|
|
|
choose --default exit --timeout 600000 target && goto ${target}
|
|
|
|
:exit
|
|
exit
|
|
|
|
:shell
|
|
shell
|
|
|
|
:wds
|
|
#if ${platform} = pcbios {
|
|
# kernel ${tftp-path}\pxeboot.0
|
|
#} elsif ${platform} = efi {
|
|
# kernel ${tftp-path-efi}\wdsmgfw.efi
|
|
#chain --replace --autofree ${tftp-path}\wdsmgfw.efi
|
|
#}
|
|
kernel ${tftp-path}\pxeboot.0
|
|
boot
|
|
|
|
:wdsefi
|
|
chain --replace --autofree ${tftp-path}\wdsmgfw.efi
|
|
boot
|
|
|
|
:osmenu
|
|
# Operating Systems Menu
|
|
menu Operating Systems Menu
|
|
item --gap Operating Systems Menu
|
|
item mainmenu <--- Back
|
|
item debinst12 Debian 12 Installer
|
|
item debinst11 Debian 11 Installer
|
|
item deblive Debian Live System
|
|
item fedoralatest Fedora Installer Latest (39) 64-bit
|
|
item arch64 Arch Linux x64
|
|
|
|
|
|
choose --default debinst12 --timeout 600000 target && goto ${target}
|
|
|
|
:debinst12
|
|
kernel ${tftp-path}\debian\linux
|
|
initrd ${tftp-path}\debian\initrd.gz
|
|
boot
|
|
|
|
:debinst11
|
|
kernel ${tftp-path}\debian\11linux
|
|
initrd ${tftp-path}\debian\11initrd.gz
|
|
boot
|
|
|
|
:deblive
|
|
kernel ${tftp-path}\debian\live-vmlinuz boot=live config components union=overlay username=technolog noswap noeject fetch=${http-path}/isosrc/debian12live.squashfs
|
|
initrd ${tftp-path}\debian\live-initrd.img
|
|
boot
|
|
|
|
:fedoralatest
|
|
kernel ${tftp-path}\fedora\39vmlinuz initrd=39initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/39/Server/x86_64/os/
|
|
initrd ${tftp-path}\fedora\39initrd.img
|
|
boot
|
|
|
|
:arch64
|
|
kernel ${tftp-path}\arch\x86_64\vmlinuz-linux archisobasedir=arch archiso_http_srv=${http-path}/isosrc/arch/ cms_verify=y
|
|
initrd ${tftp-path}\arch\intel-ucode.img
|
|
initrd ${tftp-path}\arch\amd-ucode.img
|
|
initrd ${tftp-path}\arch\x86_64\initramfs-linux.img
|
|
boot
|
|
|
|
### Utilities
|
|
:utilmenu
|
|
menu System Tools and Utilities
|
|
item --gap System Tools and Utilities
|
|
item mainmenu <--- Back
|
|
item gparted gParted Live Debian Image
|
|
item dban Darik's Boot And Nuke
|
|
|
|
choose --default gparted --timeout 600000 target && goto ${target}
|
|
|
|
:gparted
|
|
kernel ${tftp-path}\gparted\vmlinuz boot=live config components union=overlay username=technolog noswap noeject fetch=${http-path}/isosrc/gparted.squashfs
|
|
initrd ${tftp-path}\gparted\initrd.img
|
|
boot
|
|
|
|
:dban
|
|
initrd ${tftp-path}\memdisk\iso\dban-2.3.0_i586.iso
|
|
chain ${tftp-path}\memdisk\memdisk1 iso raw
|
|
boot |