2023-10-22 12:50:29 +00:00
|
|
|
#!ipxe
|
|
|
|
set boot-url http://${dhcp-server}
|
|
|
|
|
|
|
|
:start
|
|
|
|
# 2 secondi timeout
|
2023-10-25 08:04:23 +00:00
|
|
|
isset ${menu-timeout} || set menu-timeout 30000
|
2023-10-22 12:50:29 +00:00
|
|
|
isset ${enu-default} || set menu-default ubuntu
|
|
|
|
menu iPXE boot menu
|
|
|
|
item --key u ubuntu Boot Ubuntu 22.04
|
|
|
|
item --key u popos Boot POP OS 22.04
|
|
|
|
item --key u popos-nvidia Boot POP OS 22.04 (nvidia)
|
|
|
|
item --key u mint-cinnamon Boot Linuxmint 21.2 Cinnamon
|
|
|
|
item --key u mint-xfce Boot Linuxmint 21.2 XFCE
|
|
|
|
item --key u mint-mate Boot Linuxmint 21.2 Mate
|
|
|
|
item --key u mint-lmde Boot Linuxmint Debian Edition 6
|
|
|
|
item --key u xubuntu Boot XUbuntu 22.04
|
|
|
|
item --key u lubuntu Boot LUbuntu 22.04
|
|
|
|
item --key u zorin-core Boot Zorin OS 16.3 Core
|
|
|
|
item --key u zorin-lite Boot Zorin OS 16.3 Lite
|
|
|
|
item --key u elementary Boot Elementary OS 7
|
|
|
|
item --key u fedora Boot Fedora Workstation 38 Live
|
|
|
|
item --key u opensuse Boot Booting openSUSE Leap 15.5
|
2023-10-25 08:04:23 +00:00
|
|
|
# item --key u debian Boot Debian Live 12.2.0
|
|
|
|
# item --key u kali Boot Kali Linux 2023.3
|
2023-10-22 12:50:29 +00:00
|
|
|
item --key u ubuntu-http Boot Ubuntu 22.04 (HTTP)
|
|
|
|
item --key f freedos Boot FreeDOS
|
|
|
|
item --key n netboot-xyz netboot.xyz
|
|
|
|
item shell iPXE shell
|
|
|
|
item reboot Reboot
|
|
|
|
item
|
|
|
|
item --key x exit Exit iPXE and continue BIOS boot
|
|
|
|
choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel
|
|
|
|
set menu-timeout 0
|
|
|
|
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
|
|
|
|
|
|
|
|
:back
|
|
|
|
set submenu-timeout 0
|
|
|
|
clear submenu-default
|
|
|
|
goto start
|
|
|
|
|
|
|
|
:freedos
|
|
|
|
echo Booting FreeDOS
|
|
|
|
kernel ${boot-url}/memdisk iso raw
|
|
|
|
initrd ${boot-url}/iso/FD13LIVE.iso
|
|
|
|
boot || goto failed
|
|
|
|
goto start
|
|
|
|
|
|
|
|
:netboot-xyz
|
2023-10-25 08:50:32 +00:00
|
|
|
chain --autofree http://boot.netboot.xyz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
2023-10-23 20:19:11 +00:00
|
|
|
|
2023-10-22 12:50:29 +00:00
|
|
|
:ubuntu
|
|
|
|
echo Booting Ubuntu 22.04 (NFS)
|
|
|
|
initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso initrd=initrd
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:ubuntu-http
|
|
|
|
echo Booting Ubuntu 22.04 (HTTP)
|
|
|
|
initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd
|
|
|
|
set url http://${dhcp-server}/iso/ubuntu-22.04.3-desktop-amd64.iso
|
2023-10-23 20:16:43 +00:00
|
|
|
chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=url url=${url} initrd=initrd
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:popos
|
|
|
|
echo Booting POP OS 22.04 (NFS)
|
|
|
|
initrd ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/initrd.gz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso initrd=initrd.gz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:popos-nvidia
|
|
|
|
echo Booting POP OS 22.04 - nvidia (NFS)
|
|
|
|
initrd ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/initrd.gz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso initrd=initrd.gz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:elementary
|
|
|
|
echo Booting Elementary OS 7 (NFS)
|
|
|
|
initrd ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/initrd.lz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso initrd=initrd.lz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:mint-cinnamon
|
|
|
|
echo Booting Linuxmint 21.2 cinnamon (NFS)
|
|
|
|
initrd ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/initrd.lz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso initrd=initrd.lz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:mint-xfce
|
|
|
|
echo Booting Linuxmint 21.2 xfce (NFS)
|
|
|
|
initrd ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/initrd.lz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso initrd=initrd.lz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:mint-mate
|
|
|
|
echo Booting Linuxmint 21.2 mate (NFS)
|
|
|
|
initrd ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/initrd.lz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso initrd=initrd.lz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:mint-lmde
|
|
|
|
echo Booting Linuxmint Debian Edition 6 (NFS)
|
|
|
|
initrd ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/initrd.lz
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso initrd=initrd.lz
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:xubuntu
|
|
|
|
echo Booting XUbuntu 22.04 (NFS)
|
|
|
|
initrd ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/initrd
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso initrd=initrd
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:lubuntu
|
|
|
|
echo Booting LUbuntu 22.04 (NFS)
|
|
|
|
initrd ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/initrd
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso initrd=initrd
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:zorin-core
|
|
|
|
echo Booting Zorin OS 16.3 Core (NFS)
|
|
|
|
initrd ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/initrd.lz4
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso initrd=initrd.lz4
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:zorin-lite
|
|
|
|
echo Booting Zorin OS 16.3 Lite (NFS)
|
|
|
|
initrd ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/initrd.lz4
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper nocheck netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso initrd=initrd.lz4
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:fedora
|
|
|
|
echo Booting Fedora Workstation 38 Live (NFS)
|
|
|
|
initrd ${boot-url}/mount/Fedora-Workstation-Live-x86_64-38-1.6.iso/images/pxeboot/initrd.img
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/Fedora-Workstation-Live-x86_64-38-1.6.iso/images/pxeboot/vmlinuz rd.live.image root=live:nfs://${dhcp-server}/srv/pxe/mount/Fedora-Workstation-Live-x86_64-38-1.6.iso/LiveOS/squashfs.img initrd=initrd.img
|
2023-10-22 12:50:29 +00:00
|
|
|
goto start
|
|
|
|
|
|
|
|
:opensuse
|
|
|
|
echo Booting openSUSE Leap 15.5 (NFS)
|
|
|
|
initrd ${boot-url}/mount/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso/boot/x86_64/loader/initrd
|
2023-10-25 08:04:23 +00:00
|
|
|
chain ${boot-url}/mount/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso/boot/x86_64/loader/linux install=${boot-url}/mount/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso splash=silent initrd=initrd
|
|
|
|
goto start
|