From 4cf8ebbbbfeb28147b68642816d4dd007008af5a Mon Sep 17 00:00:00 2001 From: iRaven4522 Date: Thu, 25 Sep 2025 00:44:31 -0500 Subject: [PATCH] menu rewrite using http-iso-path. adds debian 13 --- boot.ipxe.cfg | 3 ++- menu.ipxe | 71 ++++++++++++++++++++++++++++----------------------- 2 files changed, 41 insertions(+), 33 deletions(-) diff --git a/boot.ipxe.cfg b/boot.ipxe.cfg index c2c5dfe..64c1f90 100644 --- a/boot.ipxe.cfg +++ b/boot.ipxe.cfg @@ -16,7 +16,8 @@ set tftp-path tftp://${deploysvr}/Boot\${arch} set tftp-path-efi tftp://${deploysvr}/Boot\${arch}uefi # HTTP Server Path -set http-path http://${deploysvr}/ +set http-path http://${deploysvr} +set http-iso-path ${http-path}/isosrc # Platform # BIOS or UEFI, that is the question. diff --git a/menu.ipxe b/menu.ipxe index d61b22c..0ce5561 100644 --- a/menu.ipxe +++ b/menu.ipxe @@ -6,6 +6,7 @@ echo Platform: ${platform} echo Deployment Server: ${deploysvr} echo TFTP URL: ${tftp-path} echo HTTP URL: ${http-path} +echo HTTP ISO URL: ${http-iso-path} # console --picture http://${deploysvr}/background.bmp --bottom 90 @@ -48,10 +49,11 @@ boot menu Operating Systems Menu item --gap Operating Systems Menu item mainmenu <--- Back +item debinst13 Debian 12 Installer item debinst12 Debian 12 Installer item deb12newsrv Debian 12 New Servers -item debinst11 Debian 11 Installer -item deblive Debian Live System +# item debinst11 Debian 11 Installer +item deblive12 Debian Live System item fedoralatest Fedora Installer Latest (42) 64-bit item fedora41 Fedora Installer 41 64-bit item arch64 Arch Linux x64 @@ -60,47 +62,52 @@ item alpine Alpine Linux Latest (3.22) choose --default debinst12 --timeout 600000 target && goto ${target} +:debinst13 +kernel ${http-iso-path}/debian/13linux +initrd ${http-iso-path}/debian/13initrd.gz +boot + :debinst12 -kernel ${tftp-path}\debian\linux -initrd ${tftp-path}\debian\initrd.gz +kernel ${http-iso-path}/debian/12linux +initrd ${http-iso-path}/debian/12initrd.gz boot :deb12newsrv -kernel ${tftp-path}\debian\linux url=${http-path}/preseed/tng-srvnew.txt -initrd ${tftp-path}\debian\initrd.gz +kernel ${http-iso-path}/debian/12linux url=${http-path}/preseed/tng-srvnew.txt +initrd ${http-iso-path}/debian/12initrd.gz boot -:debinst11 -kernel ${tftp-path}\debian\11linux -initrd ${tftp-path}\debian\11initrd.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 +:deblive12 +kernel ${http-iso-path}/debian/12live-vmlinuz boot=live config components union=overlay username=technolog noswap noeject fetch=${http-iso-path}/debian/debian12live.squashfs +initrd ${http-iso-path}/debian/12live-initrd.img boot :fedoralatest -kernel ${tftp-path}\fedora\42vmlinuz initrd=42initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/42/Server/x86_64/os/ -initrd ${http-path}/isosrc/fedora/42initrd.img +kernel ${http-iso-path}\fedora\42vmlinuz initrd=42initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/42/Server/x86_64/os/ +initrd ${http-iso-path}/fedora/42initrd.img boot :fedora41 -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 +kernel ${http-iso-path}\fedora\41vmlinuz initrd=41initrd.img inst.stage2=https://download.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/os/ +initrd ${http-iso-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 +kernel ${tftp-path}\arch\x86_64\vmlinuz-linux initrd=amd-ucode.img initrd=intel-ucode.img initrd=initramfs-linux.img archiso_http_srv=${http-iso-path}/arch/ ip=dhcp +initrd ${http-iso-path}/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.22/main modloop=${http-path}/isosrc/alpine/modloop-virt -initrd ${tftp-path}\alpine\initramfs-virt +kernel ${http-iso-path}\alpine\vmlinuz-virt console=tty0 modules=loop,squashfs nomodeset alpine_repo=https://dl-cdn.alpinelinux.org/alpine/v3.22/main modloop=${http-iso-path}/alpine/modloop-virt +initrd ${http-iso-path}\alpine\initramfs-virt boot ### Utilities @@ -116,24 +123,24 @@ 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 +kernel ${http-iso-path}\gparted\vmlinuz boot=live config components union=overlay username=technolog noswap noeject fetch=${http-iso-path}/gparted//gparted.squashfs +initrd ${http-iso-path}\gparted\initrd.img boot :dban -initrd ${tftp-path}\memdisk\iso\dban-2.3.0_i586.iso -chain ${tftp-path}\memdisk\memdisk1 iso raw +initrd ${http-iso-path}\dban-2.3.0_i586.iso +chain ${tftp-path}\utils\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 +kernel ${http-iso-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-iso-path}/clonezilla/filesystem.squashfs +initrd ${http-iso-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 +kernel ${http-iso-path}\ntpasswd\VMLINUZ rw vga=1 loglevel=1 +initrd ${http-iso-path}\ntpasswd\initrd.cgz +initrd ${http-iso-path}\ntpasswd\scsi.cgz boot ### Testing Menu @@ -146,6 +153,6 @@ item debtest Debian Preseed TESTING choose --default mainmenu --timeout 600000 target && goto ${target} :debtest -kernel ${tftp-path}\debian\linux url=${http-path}/preseed/testing.txt -initrd ${tftp-path}\debian\initrd.gz +kernel ${http-iso-path}\debian\12linux url=${http-path}/preseed/testing.txt +initrd ${http-iso-path}\debian\12initrd.gz boot \ No newline at end of file