#!ipxe set boot-url http://${dhcp-server} :start # 2 secondi timeout isset ${menu-timeout} || set menu-timeout 2000 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 kali Boot Kali Linux 2023.3 item --key u fedora Boot Fedora Workstation 38 Live item --key u opensuse Boot Booting openSUSE Leap 15.5 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 chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn goto start ``` chain --autofree http://boot.netboot.xyz ``` :ubuntu echo Booting Ubuntu 22.04 (NFS) initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/ubuntu-22.04.3-desktop-amd64.iso 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 chain ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=url url=${url} initrd=initrd 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 chain ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/vmlinuz.efi ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_intel_4.iso 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 chain ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/vmlinuz.efi ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/pop-os_22.04_amd64_nvidia_4.iso goto start :elementary echo Booting Elementary OS 7 (NFS) initrd ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/initrd.lz chain ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/elementaryos-7.1-stable.20230926rc.iso goto start :mint-cinnamon echo Booting Linuxmint 21.2 cinnamon (NFS) initrd ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/initrd.lz chain ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-cinnamon-64bit.iso goto start :mint-xfce echo Booting Linuxmint 21.2 xfce (NFS) initrd ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/initrd.lz chain ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-xfce-64bit.iso goto start :mint-mate echo Booting Linuxmint 21.2 mate (NFS) initrd ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/initrd.lz chain ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/linuxmint-21.2-mate-64bit.iso goto start :mint-lmde echo Booting Linuxmint Debian Edition 6 (NFS) initrd ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/initrd.lz chain ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/vmlinuz ip=dhcp boot=live live-config live-media-path=/casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lmde-6-cinnamon-64bit.iso goto start :xubuntu echo Booting XUbuntu 22.04 (NFS) initrd ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/initrd chain ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/xubuntu-22.04.3-desktop-amd64.iso goto start :lubuntu echo Booting LUbuntu 22.04 (NFS) initrd ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/initrd chain ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/lubuntu-22.04.3-desktop-amd64.iso 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 chain ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Core-64-bit.iso 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 chain ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso 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 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 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 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 goto start :kali echo Booting Kali Linux 2023.3 (NFS) initrd ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/initrd.img chain ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/vmlinuz ip=auto boot=live components quiet splash noeject hostname=kali-live findiso=${boot-url}/iso/kali-linux-2023.3-live-amd64.iso goto start