1
0
mirror of https://git.libreschool.org/paspo/brasatore.git synced 2024-11-22 14:18:44 +00:00
This commit is contained in:
Paolo Asperti 2023-10-25 10:04:23 +02:00
parent 03dec7afbc
commit 9a78b1c93a
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,10 +1,9 @@
#!ipxe #!ipxe
set boot-url http://${dhcp-server} set boot-url http://${dhcp-server}
:start :start
# 2 secondi timeout # 2 secondi timeout
isset ${menu-timeout} || set menu-timeout 2000 isset ${menu-timeout} || set menu-timeout 30000
isset ${enu-default} || set menu-default ubuntu isset ${enu-default} || set menu-default ubuntu
menu iPXE boot menu menu iPXE boot menu
item --key u ubuntu Boot Ubuntu 22.04 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-core Boot Zorin OS 16.3 Core
item --key u zorin-lite Boot Zorin OS 16.3 Lite item --key u zorin-lite Boot Zorin OS 16.3 Lite
item --key u elementary Boot Elementary OS 7 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 fedora Boot Fedora Workstation 38 Live
item --key u opensuse Boot Booting openSUSE Leap 15.5 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 u ubuntu-http Boot Ubuntu 22.04 (HTTP)
item --key f freedos Boot FreeDOS item --key f freedos Boot FreeDOS
item --key n netboot-xyz netboot.xyz item --key n netboot-xyz netboot.xyz
@ -47,7 +47,6 @@ goto start
echo Booting failed, dropping to shell echo Booting failed, dropping to shell
goto shell goto shell
:reboot :reboot
reboot reboot
@ -59,7 +58,6 @@ set submenu-timeout 0
clear submenu-default clear submenu-default
goto start goto start
:freedos :freedos
echo Booting FreeDOS echo Booting FreeDOS
kernel ${boot-url}/memdisk iso raw kernel ${boot-url}/memdisk iso raw
@ -71,11 +69,10 @@ goto start
chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz.lkrn
goto start goto start
:ubuntu :ubuntu
echo Booting Ubuntu 22.04 (NFS) echo Booting Ubuntu 22.04 (NFS)
initrd ${boot-url}/mount/ubuntu-22.04.3-desktop-amd64.iso/casper/initrd 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 goto start
@ -89,84 +86,112 @@ goto start
:popos :popos
echo Booting POP OS 22.04 (NFS) echo Booting POP OS 22.04 (NFS)
initrd ${boot-url}/mount/pop-os_22.04_amd64_intel_4.iso/casper/initrd.gz 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 goto start
:popos-nvidia :popos-nvidia
echo Booting POP OS 22.04 - nvidia (NFS) echo Booting POP OS 22.04 - nvidia (NFS)
initrd ${boot-url}/mount/pop-os_22.04_amd64_nvidia_4.iso/casper/initrd.gz 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 goto start
:elementary :elementary
echo Booting Elementary OS 7 (NFS) echo Booting Elementary OS 7 (NFS)
initrd ${boot-url}/mount/elementaryos-7.1-stable.20230926rc.iso/casper/initrd.lz 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 goto start
:mint-cinnamon :mint-cinnamon
echo Booting Linuxmint 21.2 cinnamon (NFS) echo Booting Linuxmint 21.2 cinnamon (NFS)
initrd ${boot-url}/mount/linuxmint-21.2-cinnamon-64bit.iso/casper/initrd.lz 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 goto start
:mint-xfce :mint-xfce
echo Booting Linuxmint 21.2 xfce (NFS) echo Booting Linuxmint 21.2 xfce (NFS)
initrd ${boot-url}/mount/linuxmint-21.2-xfce-64bit.iso/casper/initrd.lz 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 goto start
:mint-mate :mint-mate
echo Booting Linuxmint 21.2 mate (NFS) echo Booting Linuxmint 21.2 mate (NFS)
initrd ${boot-url}/mount/linuxmint-21.2-mate-64bit.iso/casper/initrd.lz 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 goto start
:mint-lmde :mint-lmde
echo Booting Linuxmint Debian Edition 6 (NFS) echo Booting Linuxmint Debian Edition 6 (NFS)
initrd ${boot-url}/mount/lmde-6-cinnamon-64bit.iso/casper/initrd.lz 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 goto start
:xubuntu :xubuntu
echo Booting XUbuntu 22.04 (NFS) echo Booting XUbuntu 22.04 (NFS)
initrd ${boot-url}/mount/xubuntu-22.04.3-desktop-amd64.iso/casper/initrd 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 goto start
:lubuntu :lubuntu
echo Booting LUbuntu 22.04 (NFS) echo Booting LUbuntu 22.04 (NFS)
initrd ${boot-url}/mount/lubuntu-22.04.3-desktop-amd64.iso/casper/initrd 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 goto start
:zorin-core :zorin-core
echo Booting Zorin OS 16.3 Core (NFS) echo Booting Zorin OS 16.3 Core (NFS)
initrd ${boot-url}/mount/Zorin-OS-16.3-Core-64-bit.iso/casper/initrd.lz4 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 goto start
:zorin-lite :zorin-lite
echo Booting Zorin OS 16.3 Lite (NFS) echo Booting Zorin OS 16.3 Lite (NFS)
initrd ${boot-url}/mount/Zorin-OS-16.3-Lite-64-bit.iso/casper/initrd.lz4 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 goto start
:fedora :fedora
echo Booting Fedora Workstation 38 Live (NFS) echo Booting Fedora Workstation 38 Live (NFS)
initrd ${boot-url}/mount/Fedora-Workstation-Live-x86_64-38-1.6.iso/images/pxeboot/initrd.img 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 goto start
:opensuse :opensuse
echo Booting openSUSE Leap 15.5 (NFS) 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 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 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 :kali
echo Booting Kali Linux 2023.3 (NFS) echo Booting Kali Linux 2023.3 (NFS)
initrd ${boot-url}/mount/kali-linux-2023.3-live-amd64.iso/live/initrd.img 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 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