145 lines
4.3 KiB
Plaintext
145 lines
4.3 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 (BIOS)
|
|
item wdsefi Windows Deployment Services (UEFI)
|
|
item osmenu Operating Systems
|
|
item utilmenu System Tools and Utilities
|
|
item testmenu Testing Menu
|
|
# 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}\wdsnbp.com
|
|
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 deb12newsrv Debian 12 New Servers
|
|
item debinst11 Debian 11 Installer
|
|
item deblive Debian Live System
|
|
item fedoralatest Fedora Installer Latest (41) 64-bit
|
|
item arch64 Arch Linux x64
|
|
item alpine Alpine Linux Latest (3.21)
|
|
|
|
|
|
choose --default debinst12 --timeout 600000 target && goto ${target}
|
|
|
|
:debinst12
|
|
kernel ${tftp-path}\debian\linux
|
|
initrd ${tftp-path}\debian\initrd.gz
|
|
boot
|
|
|
|
:deb12newsrv
|
|
kernel ${tftp-path}\debian\linux url=${http-path}/preseed/tng-srvnew.txt
|
|
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\41vmlinuz initrd=41initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/os/
|
|
initrd ${tftp-path}\fedora\41initrd.img
|
|
boot
|
|
|
|
:arch64
|
|
kernel ${tftp-path}\arch\x86_64\vmlinuz-linux initrd=amd-ucode.img initrd=intel-ucode.img initrd=initramfs-linux.img archiso_http_srv=${http-path}/isosrc/arch/ ip=dhcp
|
|
initrd ${http-path}/isosrc/arch/arch/boot/x86_64/initramfs-linux.img
|
|
initrd ${tftp-path}\arch\intel-ucode.img
|
|
initrd ${tftp-path}\arch\amd-ucode.img
|
|
# initrd ${tftp-path}\arch\x86_64\initramfs-linux.img
|
|
boot
|
|
|
|
:alpine
|
|
kernel ${tftp-path}\alpine\vmlinuz-virt console=tty0 modules=loop,squashfs nomodeset alpine_repo=https://dl-cdn.alpinelinux.org/alpine/v3.21/main modloop=${http-path}/isosrc/alpine/modloop-virt
|
|
initrd ${tftp-path}\alpine\initramfs-virt
|
|
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
|
|
item clonezilla Clonezilla
|
|
item chntpw Change NT Password Utility
|
|
|
|
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
|
|
|
|
:clonezilla
|
|
kernel ${tftp-path}\clonezilla\vmlinuz boot=live username=user union=overlay config components quiet noswap edd=on nomodeset nodmraid locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=${http-path}/isosrc/clonezilla.squashfs
|
|
initrd ${tftp-path}\clonezilla\initrd.img
|
|
boot
|
|
|
|
:chntpw
|
|
kernel ${tftp-path}\ntpasswd\VMLINUZ rw vga=1 initrd=initrd.cgz,scsi.cgz loglevel=1
|
|
initrd ${tftp-path}\ntpasswd\initrd.cgz
|
|
initrd ${tftp-path}\ntpasswd\scsi.cgz
|
|
boot
|
|
|
|
### Testing Menu
|
|
:testmenu
|
|
menu Testing Menu
|
|
item --gap Testing Menu
|
|
item mainmenu <--- Back
|
|
item deb12newsrv Debian 12 Installer - New Servers
|
|
|
|
choose --default mainmenu --timeout 600000 target && goto ${target}
|
|
|
|
:deb12newsrv
|
|
kernel ${tftp-path}\debian\linux url=${http-path}/preseed/tng-srvnew.txt
|
|
initrd ${tftp-path}\debian\initrd.gz
|
|
boot |