From 9a78b1c93a504f05f215ecd8dca4837c9476ebc2 Mon Sep 17 00:00:00 2001 From: paspo Date: Wed, 25 Oct 2023 10:04:23 +0200 Subject: [PATCH] uefi --- boot.txt | 67 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 46 insertions(+), 21 deletions(-) diff --git a/boot.txt b/boot.txt index 335c5fb..d53a320 100644 --- a/boot.txt +++ b/boot.txt @@ -1,10 +1,9 @@ #!ipxe set boot-url http://${dhcp-server} - :start # 2 secondi timeout -isset ${menu-timeout} || set menu-timeout 2000 +isset ${menu-timeout} || set menu-timeout 30000 isset ${enu-default} || set menu-default ubuntu menu iPXE boot menu item --key u ubuntu Boot Ubuntu 22.04 @@ -19,9 +18,10 @@ 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 debian Boot Debian Live 12.2.0 +# item --key u kali Boot Kali Linux 2023.3 item --key u ubuntu-http Boot Ubuntu 22.04 (HTTP) item --key f freedos Boot FreeDOS item --key n netboot-xyz netboot.xyz @@ -47,7 +47,6 @@ goto start echo Booting failed, dropping to shell goto shell - :reboot reboot @@ -59,7 +58,6 @@ set submenu-timeout 0 clear submenu-default goto start - :freedos echo Booting FreeDOS kernel ${boot-url}/memdisk iso raw @@ -71,11 +69,10 @@ goto start chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn goto start - :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=${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 +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 goto start @@ -89,84 +86,112 @@ 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${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 +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 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=${net0/ip}::${dhcp-server}:255.255.255.0::::${dhcp-server}: boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/pxe/mount/Zorin-OS-16.3-Lite-64-bit.iso +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 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 +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 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 +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 +:netboot-xyz +chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn +goto start + + +:kali3 +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 boot=live fetch=${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/filesystem.squashfs +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 +#chain ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/vmlinuz boot=live components username=root hostname=kali-live fetch=${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/filesystem.squashfs +#chain ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/vmlinuz boot=live components username=root hostname=kali-live fetch=nfs://${dhcp-server}:/srv/pxe/mount/kali-linux-2023.3-live-amd64.iso/live/filesystem.squashfs +#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 +#chain ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/vmlinuz boot=live components username=root hostname=kali-live fetch=${boot-url}/ka/filesystem.squashfs +chain ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/vmlinuz boot=live fetch=${boot-url}/netboot.xyz/xfce-kali/filesystem.squashfs + + goto start + + + + +:debian +echo Booting Debian Live 12.2.0 (NFS) +initrd ${boot-url}/mount/debian-live-12.2.0-amd64-standard.iso/live/initrd.img +chain ${boot-url}/mount/debian-live-12.2.0-amd64-standard.iso/live/vmlinuz boot=casper netboot=nfs ip=dhcp nfsroot=${dhcp-server}:/srv/pxe/mount/debian-live-12.2.0-amd64-standard.iso ro netboot=nfs boot=live config -- locales=it_IT.UTF-8 keyboard-layouts=it timezone=Europe/Rome +goto start