diff --git a/ipxe/disks/netboot.xyz b/ipxe/disks/netboot.xyz deleted file mode 100644 index fb3d1254..00000000 --- a/ipxe/disks/netboot.xyz +++ /dev/null @@ -1,67 +0,0 @@ -#!ipxe -set esc:hex 1b -set bold ${esc:string}[1m -set boldoff ${esc:string}[22m -set fg_gre ${esc:string}[32m -set fg_cya ${esc:string}[36m -set fg_whi ${esc:string}[37m -set HTTPS_ERR HTTPS appears to have failed... attempting HTTP -set HTTP_ERR HTTP has failed, localbooting... -set version 1.04 - -:start -echo ${bold}${fg_gre}netboot.xyz ${fg_whi}v${version}${boldoff} -prompt --key m --timeout 4000 Hit the ${bold}m${boldoff} key to open failsafe menu... && goto failsafe || goto dhcp - -:dhcp -echo -dhcp || goto netconfig -goto menu - -:failsafe -menu netboot.xyz Failsafe Menu -item localboot Boot to local drive -item netconfig Manual network configuration -item retry Retry boot -item debug iPXE Debug Shell -item reboot Reboot System -choose failsafe_choice || exit -goto ${failsafe_choice} - -:netconfig -echo Network Configuration: -echo Available interfaces... -ifstat -imgfree -echo -n Set network interface number [0 for net0, defaults to 0]: ${} && read net -isset ${net} || set net 0 -echo -n IP: && read net${net}/ip -echo -n Subnet mask: && read net${net}/netmask -echo -n Gateway: && read net${net}/gateway -echo -n DNS: && read dns -ifopen net${net} -echo Attempting chainload of netboot.xyz... -goto menu || goto failsafe - -:menu -set conn_type https -chain --autofree https://boot.netboot.xyz/menu.ipxe || echo ${HTTPS_ERR} -sleep 5 -set conn_type http -chain --autofree http://boot.netboot.xyz/menu.ipxe || echo ${HTTP_ERR} -goto localboot - -:localboot -exit - -:retry -goto start - -:reboot -reboot -goto start - -:debug -echo Type "exit" to return to menu -shell -goto failsafe diff --git a/ipxe/disks/netboot.xyz-gce b/ipxe/disks/netboot.xyz-gce deleted file mode 100644 index 76de70c3..00000000 --- a/ipxe/disks/netboot.xyz-gce +++ /dev/null @@ -1,68 +0,0 @@ -#!ipxe -set esc:hex 1b -set bold ${esc:string}[1m -set boldoff ${esc:string}[22m -set fg_gre ${esc:string}[32m -set fg_cya ${esc:string}[36m -set fg_whi ${esc:string}[37m -set HTTPS_ERR HTTPS appears to have failed... attempting HTTP -set HTTP_ERR HTTP has failed, localbooting... -set version 1.04 -set ipxe_cloud_config gce - -:start -echo ${bold}${fg_gre}netboot.xyz ${fg_whi}v${version} for ${fg_cya}Google Compute Engine${boldoff} -prompt --key m --timeout 4000 Hit the ${bold}m${boldoff} key to open failsafe menu... && goto failsafe || goto dhcp - -:dhcp -echo -dhcp || goto netconfig -goto menu - -:failsafe -menu netboot.xyz Failsafe Menu -item localboot Boot to local drive -item netconfig Manual network configuration -item retry Retry boot -item debug iPXE Debug Shell -item reboot Reboot System -choose failsafe_choice || exit -goto ${failsafe_choice} - -:netconfig -echo Network Configuration: -echo Available interfaces... -ifstat -imgfree -echo -n Set network interface number [0 for net0, defaults to 0]: ${} && read net -isset ${net} || set net 0 -echo -n IP: && read net${net}/ip -echo -n Subnet mask: && read net${net}/netmask -echo -n Gateway: && read net${net}/gateway -echo -n DNS: && read dns -ifopen net${net} -echo Attempting chainload of netboot.xyz... -goto menu || goto failsafe - -:menu -set conn_type https -chain --autofree https://boot.netboot.xyz/menu.ipxe || echo ${HTTPS_ERR} -sleep 5 -set conn_type http -chain --autofree http://boot.netboot.xyz/menu.ipxe || echo ${HTTP_ERR} -goto localboot - -:localboot -exit - -:retry -goto start - -:reboot -reboot -goto start - -:debug -echo Type "exit" to return to menu -shell -goto failsafe diff --git a/ipxe/disks/netboot.xyz-packet b/ipxe/disks/netboot.xyz-packet deleted file mode 100644 index 18553acf..00000000 --- a/ipxe/disks/netboot.xyz-packet +++ /dev/null @@ -1,69 +0,0 @@ -#!ipxe -set esc:hex 1b -set bold ${esc:string}[1m -set boldoff ${esc:string}[22m -set fg_gre ${esc:string}[32m -set fg_red ${esc:string}[31m -set fg_cya ${esc:string}[36m -set fg_whi ${esc:string}[37m -set HTTPS_ERR HTTPS appears to have failed... attempting HTTP -set HTTP_ERR HTTP has failed, localbooting... -set version 1.04 -set ipxe_cloud_config packet - -:start -echo ${bold}${fg_gre}netboot.xyz ${fg_whi}v${version} for ${fg_red}packet.com${fg_whi}${boldoff} -prompt --key m --timeout 4000 Hit the ${bold}m${boldoff} key to open failsafe menu... && goto failsafe || goto dhcp - -:dhcp -echo -dhcp || goto netconfig -goto menu - -:failsafe -menu netboot.xyz Failsafe Menu -item localboot Boot to local drive -item netconfig Manual network configuration -item retry Retry boot -item debug iPXE Debug Shell -item reboot Reboot System -choose failsafe_choice || exit -goto ${failsafe_choice} - -:netconfig -echo Network Configuration: -echo Available interfaces... -ifstat -imgfree -echo -n Set network interface number [0 for net0, defaults to 0]: ${} && read net -isset ${net} || set net 0 -echo -n IP: && read net${net}/ip -echo -n Subnet mask: && read net${net}/netmask -echo -n Gateway: && read net${net}/gateway -echo -n DNS: && read dns -ifopen net${net} -echo Attempting chainload of netboot.xyz... -goto menu || goto failsafe - -:menu -set conn_type https -chain --autofree https://boot.netboot.xyz/menu.ipxe || echo ${HTTPS_ERR} -sleep 5 -set conn_type http -chain --autofree http://boot.netboot.xyz/menu.ipxe || echo ${HTTP_ERR} -goto localboot - -:localboot -exit - -:retry -goto start - -:reboot -reboot -goto start - -:debug -echo Type "exit" to return to menu -shell -goto failsafe diff --git a/ipxe/local/colour.h b/ipxe/local/colour.h deleted file mode 100644 index 66b14004..00000000 --- a/ipxe/local/colour.h +++ /dev/null @@ -1,28 +0,0 @@ -#undef COLOR_NORMAL_FG -#undef COLOR_NORMAL_BG -#undef COLOR_SELECT_FG -#undef COLOR_SELECT_BG -#undef COLOR_SEPARATOR_FG -#undef COLOR_SEPARATOR_BG -#undef COLOR_EDIT_FG -#undef COLOR_EDIT_BG -#undef COLOR_ALERT_FG -#undef COLOR_ALERT_BG -#undef COLOR_URL_FG -#undef COLOR_URL_BG -#undef COLOR_PXE_FG -#undef COLOR_PXE_BG -#define COLOR_NORMAL_FG COLOR_CYAN -#define COLOR_NORMAL_BG COLOR_BLACK -#define COLOR_SELECT_FG COLOR_WHITE -#define COLOR_SELECT_BG COLOR_BLUE -#define COLOR_SEPARATOR_FG COLOR_WHITE -#define COLOR_SEPARATOR_BG COLOR_BLACK -#define COLOR_EDIT_FG COLOR_BLACK -#define COLOR_EDIT_BG COLOR_CYAN -#define COLOR_ALERT_FG COLOR_WHITE -#define COLOR_ALERT_BG COLOR_RED -#define COLOR_URL_FG COLOR_CYAN -#define COLOR_URL_BG COLOR_BLUE -#define COLOR_PXE_FG COLOR_BLACK -#define COLOR_PXE_BG COLOR_WHITE diff --git a/ipxe/local/crypto.h b/ipxe/local/crypto.h deleted file mode 100644 index 13bb0faf..00000000 --- a/ipxe/local/crypto.h +++ /dev/null @@ -1 +0,0 @@ -#undef OCSP_CHECK diff --git a/ipxe/local/general.h b/ipxe/local/general.h deleted file mode 100644 index cee59bd4..00000000 --- a/ipxe/local/general.h +++ /dev/null @@ -1,11 +0,0 @@ -#define DIGEST_CMD /* Image crypto digest commands */ -#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */ -#define IMAGE_COMBOOT /* COMBOOT */ -#define IMAGE_TRUST_CMD /* Image trust management commands */ -#define NET_PROTO_IPV6 /* IPv6 protocol */ -#define NSLOOKUP_CMD /* DNS resolving command */ -#define NTP_CMD /* NTP commands */ -#define PCI_CMD /* PCI commands */ -#define REBOOT_CMD /* Reboot command */ -#define TIME_CMD /* Time commands */ -#define VLAN_CMD /* VLAN commands */ diff --git a/ipxe/local/general.h.efi b/ipxe/local/general.h.efi deleted file mode 100644 index 2df7410a..00000000 --- a/ipxe/local/general.h.efi +++ /dev/null @@ -1,10 +0,0 @@ -#define DIGEST_CMD /* Image crypto digest commands */ -#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */ -#define IMAGE_TRUST_CMD /* Image trust management commands */ -#define NET_PROTO_IPV6 /* IPv6 protocol */ -#define NSLOOKUP_CMD /* DNS resolving command */ -#define NTP_CMD /* NTP commands */ -#define PCI_CMD /* PCI commands */ -#define REBOOT_CMD /* Reboot command */ -#define TIME_CMD /* Time commands */ -#define VLAN_CMD /* VLAN commands */ diff --git a/ipxe/local/nap.h.efi b/ipxe/local/nap.h.efi deleted file mode 100644 index 1e345eb0..00000000 --- a/ipxe/local/nap.h.efi +++ /dev/null @@ -1,4 +0,0 @@ -/* nap.h */ -#undef NAP_EFIX86 -#undef NAP_EFIARM -#define NAP_NULL diff --git a/ipxe/local/usb.h.efi b/ipxe/local/usb.h.efi deleted file mode 100644 index be2ccaef..00000000 --- a/ipxe/local/usb.h.efi +++ /dev/null @@ -1,2 +0,0 @@ -/* usb.h */ -#define USB_EFI diff --git a/script/prep-release.sh b/script/prep-release.sh deleted file mode 100755 index c8c6ea00..00000000 --- a/script/prep-release.sh +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/bash -# prep release for upload to production container - -set -e - -# make ipxe directory to store ipxe disks -mkdir -p build/ipxe - -# pull down upstream iPXE -git clone --depth 1 https://github.com/ipxe/ipxe.git ipxe_build - -# copy iPXE config overrides into source tree -cp ipxe/local/* ipxe_build/src/config/local/ - -# copy certs into source tree -cp script/*.crt ipxe_build/src/ - -# build iPXE disks -cd ipxe_build/src - -# get current iPXE hash -IPXE_HASH=`git log -n 1 --pretty=format:"%H"` - -# generate netboot.xyz iPXE disks -make bin/ipxe.dsk bin/ipxe.iso bin/ipxe.lkrn bin/ipxe.usb bin/ipxe.kpxe bin/undionly.kpxe \ -EMBED=../../ipxe/disks/netboot.xyz TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt -mv bin/ipxe.dsk ../../build/ipxe/netboot.xyz.dsk -mv bin/ipxe.iso ../../build/ipxe/netboot.xyz.iso -mv bin/ipxe.lkrn ../../build/ipxe/netboot.xyz.lkrn -mv bin/ipxe.usb ../../build/ipxe/netboot.xyz.usb -mv bin/ipxe.kpxe ../../build/ipxe/netboot.xyz.kpxe -mv bin/undionly.kpxe ../../build/ipxe/netboot.xyz-undionly.kpxe - -# generate netboot.xyz iPXE disk for Google Compute Engine -make bin/ipxe.usb CONFIG=cloud EMBED=../../ipxe/disks/netboot.xyz-gce \ -TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt -cp -f bin/ipxe.usb disk.raw -tar Sczvf netboot.xyz-gce.tar.gz disk.raw -mv netboot.xyz-gce.tar.gz ../../build/ipxe/netboot.xyz-gce.tar.gz - -# generate netboot.xyz-packet legacy iPXE disk -make bin/undionly.kpxe \ -EMBED=../../ipxe/disks/netboot.xyz-packet TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt -mv bin/undionly.kpxe ../../build/ipxe/netboot.xyz-packet.kpxe - -# generate EFI iPXE disks -cp config/local/general.h.efi config/local/general.h -make clean -make bin-x86_64-efi/ipxe.efi \ -EMBED=../../ipxe/disks/netboot.xyz TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt -mkdir -p efi_tmp -dd if=/dev/zero of=efi_tmp/ipxe.img count=2880 -mformat -i efi_tmp/ipxe.img -m 0xf8 -f 2880 -mmd -i efi_tmp/ipxe.img ::efi ::efi/boot -mcopy -i efi_tmp/ipxe.img bin-x86_64-efi/ipxe.efi ::efi/boot/bootx64.efi -genisoimage -o ipxe.eiso -eltorito-alt-boot -e ipxe.img -no-emul-boot efi_tmp -mv bin-x86_64-efi/ipxe.efi ../../build/ipxe/netboot.xyz.efi -mv ipxe.eiso ../../build/ipxe/netboot.xyz-efi.iso - -# generate netboot.xyz-packet efi iPXE disk -make bin-x86_64-efi/ipxe.efi \ -EMBED=../../ipxe/disks/netboot.xyz-packet TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt -mv bin-x86_64-efi/ipxe.efi ../../build/ipxe/netboot.xyz-packet.efi - -# iPXE workaround -# http://lists.ipxe.org/pipermail/ipxe-devel/2018-August/006254.html -# apply patch to fix arm64 builds on amd64 builds -sed -i '/WORKAROUND_CFLAGS/d' arch/arm64/Makefile - -# generate EFI arm64 iPXE disk -make clean -make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 \ -EMBED=../../ipxe/disks/netboot.xyz TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt \ -bin-arm64-efi/snp.efi -mv bin-arm64-efi/snp.efi ../../build/ipxe/netboot.xyz-arm64.efi - -# generate netboot.xyz-packet-arm64 iPXE disk -make clean -make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 \ -EMBED=../../ipxe/disks/netboot.xyz-packet TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt \ -bin-arm64-efi/snp.efi -mv bin-arm64-efi/snp.efi ../../build/ipxe/netboot.xyz-packet-arm64.efi - -# generate arm64 experimental -cp config/local/nap.h.efi config/local/nap.h -cp config/local/usb.h.efi config/local/usb.h -make clean -make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 \ -EMBED=../../ipxe/disks/netboot.xyz TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt \ -bin-arm64-efi/snp.efi -mv bin-arm64-efi/snp.efi ../../build/ipxe/netboot.xyz-arm64-experimental.efi - -# return to root -cd ../.. - -# generate header for sha256-checksums file -cd build/ -CURRENT_TIME=`date` -cat > netboot.xyz-sha256-checksums.txt <> ../netboot.xyz-sha256-checksums.txt -done -cat ../netboot.xyz-sha256-checksums.txt -mv ../netboot.xyz-sha256-checksums.txt . -cd ../.. - -# generate signatures for netboot.xyz source files -mkdir sigs -for src_file in `ls src` -do - openssl cms -sign -binary -noattr -in src/$src_file \ - -signer script/codesign.crt -inkey script/codesign.key -certfile script/ca-netboot-xyz.crt -outform DER \ - -out sigs/$src_file.sig - echo Generated signature for $src_file... -done -mv sigs src/ - -# delete index.html so that we don't overwrite existing content type -rm src/index.html - -# copy iPXE src code into build directory -cp -R src/* build/ diff --git a/script/secrets.tar.enc b/script/secrets.tar.enc deleted file mode 100644 index 7412e2c8..00000000 Binary files a/script/secrets.tar.enc and /dev/null differ diff --git a/src/alpinelinux.ipxe b/src/alpinelinux.ipxe deleted file mode 100644 index 813bbfc7..00000000 --- a/src/alpinelinux.ipxe +++ /dev/null @@ -1,46 +0,0 @@ -#!ipxe - -# Alpine Linux -# https://alpinelinux.org - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}::eth0:none:${dns} - -goto ${menu} - -:alpinelinux -clear alpine_version -set os Alpine Linux -iseq ${arch} x86_64 && set bootarch x86_64 || set bootarch x86 -menu ${os} [${bootarch}] - Image Sig Checks: [${img_sigs_enabled}] -item --gap Latest Releases -item v3.10 ${space} ${os} 3.10 -item --gap Development Releases -item edge ${space} ${os} Edge (development) -choose alpine_version || goto alpine_exit -goto boot - -:boot -set base-url http://${alpinelinux_mirror} -set dir ${alpinelinux_base_dir}/${alpine_version}/releases/${bootarch}/netboot -set repo-url ${base-url}/${alpinelinux_base_dir}/${alpine_version}/main -imgfree -kernel ${base-url}/${dir}/vmlinuz-vanilla ${ipparam} alpine_repo=${repo-url} modules=loop,squashfs modloop=${base-url}/${dir}/modloop-vanilla quiet nomodeset -initrd ${base-url}/${dir}/initramfs-vanilla -echo -echo MD5sums: -md5sum vmlinuz-vanilla initramfs-vanilla -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz-vanilla ${sigs}${dir}/vmlinuz-vanilla.sig || goto error -imgverify initramfs-vanilla ${sigs}${dir}/initramfs-vanilla.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto alpine_exit - -:alpine_exit -clear menu -exit 0 diff --git a/src/archlinux.ipxe b/src/archlinux.ipxe deleted file mode 100644 index 9e84f3fa..00000000 --- a/src/archlinux.ipxe +++ /dev/null @@ -1,54 +0,0 @@ -#!ipxe - -# Arch Linux Operating System -# http://www.archlinux.org - -isset ${dhcp-server} || goto static_ip -set ipparam BOOTIF=${netX/mac} ip=dhcp -set real_archlinux_mirror ${archlinux_mirror} -goto goto_menu - -:static_ip -# Arch Linux cannot use DNS if booted with a static IP -# See https://bugs.archlinux.org/task/63174 -# Remove this hack when the above bug is properly resolved -nslookup real_archlinux_mirror ${archlinux_mirror} -set ipparam BOOTIF=${netX/mac} ip=${ip}::${gateway}:${netmask} - -:goto_menu -goto ${menu} || - -:archlinux -set os Arch Linux -clear arch_version -menu ${os} - ${arch} - Image Sig Checks: [${img_sigs_enabled}] -menu Arch Linux -item --gap Latest Releases -item 2019.12.01 2019.12.01 -choose arch_version || goto archlinux_exit -goto boot - -:boot -imgfree -set dir ${archlinux_base_dir}/iso/${arch_version}/arch/boot -set params initrd=archiso.img archiso_http_srv=http://${real_archlinux_mirror}/${archlinux_base_dir}/iso/${arch_version}/ archisobasedir=arch verify=y ${ipparam} net.ifnames=0 ${console} -kernel http://${archlinux_mirror}/${dir}/x86_64/vmlinuz ${params} initrd=archiso.img -initrd http://${archlinux_mirror}/${dir}/x86_64/archiso.img -echo -echo MD5sums: -md5sum vmlinuz archiso.img -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz ${sigs}${dir}/x86_64/vmlinuz.sig || goto error -imgverify archiso.img ${sigs}${dir}/x86_64/archiso.img.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto archlinux_exit - -:archlinux_exit -clear menu -exit 0 diff --git a/src/blackarch.ipxe b/src/blackarch.ipxe deleted file mode 100644 index 0a6f75c9..00000000 --- a/src/blackarch.ipxe +++ /dev/null @@ -1,25 +0,0 @@ -#!ipxe - -# BlackArch Linux Operating System -# https://blackarch.org/ - -goto ${menu} - -:blackarch -set os BlackArch Linux -menu ${os} Installers -item --gap Official Releases -item 2019.06.01 ${space} ${os} 2019.06.01 -choose blackarch_version || goto blackarch_exit -goto blackarch_boot - -:blackarch_boot -set blackarch_initrd http://distro.ibiblio.org/blackarch/iso/blackarch-linux-netinst-${blackarch_version}-x86_64.iso -kernel ${memdisk} iso raw -initrd ${blackarch_initrd} -boot -goto blackarch_exit - -:blackarch_exit -clear menu -exit 0 diff --git a/src/boot.cfg b/src/boot.cfg deleted file mode 100644 index 93c1f4ff..00000000 --- a/src/boot.cfg +++ /dev/null @@ -1,147 +0,0 @@ -#!ipxe - -:global_vars -# set site name -set site_name netboot.xyz - -# set boot domain -set boot_domain boot.netboot.xyz - -# set location of memdisk -set memdisk http://${boot_domain}/memdisk - -# signature check enabled? -set sigs_enabled true - -# image signatures check enabled? -set img_sigs_enabled true - -# set location of signatures for sources -set sigs http://${boot_domain}/sigs/ - -# set location of latest iPXE -set ipxe_disk netboot.xyz-undionly.kpxe - -# set location of custom netboot.xyz live assets -set live_endpoint https://github.com/netbootxyz - -################## -# official mirrors -################## -:mirrors -### Alpine Linux -set alpinelinux_mirror dl-cdn.alpinelinux.org -set alpinelinux_base_dir alpine - -### ArchLinux -set archlinux_mirror mirror.rackspace.com -set archlinux_base_dir archlinux - -### CentOS -set centos_mirror mirror.centos.org -set centos_base_dir centos - -### Debian -set debian_mirror deb.debian.org -set debian_base_dir debian - -### Devuan -set devuan_mirror auto.mirror.devuan.org -set devuan_base_dir devuan - -### Fedora -set fedora_mirror mirrors.kernel.org -set fedora_base_dir fedora - -### Mageia -set mageia_mirror mirrors.kernel.org -set mageia_base_dir mageia - -### OpenSUSE -set opensuse_mirror download.opensuse.org -set opensuse_base_dir distribution/leap - -### Slackware -set slackware_mirror mirror.rackspace.com -set slackware_base_dir slackware - -### Ubuntu -set ubuntu_mirror archive.ubuntu.com -set ubuntu_base_dir ubuntu - - -################################################# -# determine architectures and enable menu options -################################################# -:architectures -set menu_linux 1 -set menu_bsd 1 -set menu_freedos 1 -set menu_live 1 -set menu_security 1 -set menu_windows 1 -set menu_utils 1 -iseq ${buildarch} i386 && goto x86_64 || -iseq ${buildarch} x86_64 && goto x86_64 || -iseq ${buildarch} arm64 && goto arm64 || -goto architectures_end -:x86_64 -goto architectures_end -:arm64 -set menu_linux 0 -set menu_linux_arm 1 -set menu_freedos 0 -set menu_live 0 -set menu_security 0 -set menu_windows 0 -set menu_utils 0 -set menu_utils_arm 1 -goto architectures_end -:architectures_end -goto clouds - -################################### -# set iPXE cloud provider specifics -################################### -:clouds -iseq ${ipxe_cloud_config} gce && goto gce || -iseq ${ipxe_cloud_config} packet && goto packet || -goto clouds_end - -:gce -set console console=ttyS0,115200n8 -goto clouds_end - -:packet -iseq ${buildarch} i386 && goto packet_x86_64 || -iseq ${buildarch} x86_64 && goto packet_x86_64 || -iseq ${buildarch} arm64 && goto packet_arm64 || -goto clouds_end - -:packet_x86_64 -set console console=ttyS1,115200n8 -iseq ${platform} efi && set ipxe_disk netboot.xyz-packet.efi || set ipxe_disk netboot.xyz-packet.kpxe -set menu_freedos 0 -set menu_windows 0 -set menu_utils 0 -goto clouds_end - -:packet_arm64 -set console console=ttyAMA0,115200 -set ipxe_disk netboot.xyz-packet-arm64.efi -set menu_linux 0 -set menu_linux_arm 1 -set menu_bsd 0 -set menu_freedos 0 -set menu_live 0 -set menu_security 0 -set menu_windows 0 -set menu_utils 0 -set menu_utils_arm 1 -goto clouds_end - -:clouds_end -goto end - -:end -exit diff --git a/src/bsd.ipxe b/src/bsd.ipxe deleted file mode 100644 index 5de790d1..00000000 --- a/src/bsd.ipxe +++ /dev/null @@ -1,40 +0,0 @@ -#!ipxe - -goto ${menu} || - -:bsd_menu - -menu BSD Installers - Current Selected Architecture [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} - -# BSD based systems -item --gap BSD Based Operating Systems -item freebsd ${space} FreeBSD -item mirbsd ${space} MirBSD (i386 only) -item openbsd ${space} OpenBSD - -# Options -item --gap Options: -iseq ${arch} x86_64 && set bits 64 || set bits 32 -item changebits ${space} Architecture: ${arch} (${bits}bit) -choose menu || goto bsd_exit - -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto bsd_menu - -:bsd_exit -clear menu -exit 0 - -:changebits -iseq ${arch} x86_64 && set arch i386 || set arch x86_64 -goto bsd_menu diff --git a/src/centos.ipxe b/src/centos.ipxe deleted file mode 100644 index 2a022a3f..00000000 --- a/src/centos.ipxe +++ /dev/null @@ -1,83 +0,0 @@ -#!ipxe - -# CentOS Operating System -# http://www.centos.org - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}:::none nameserver=${dns} -set ipparam BOOTIF=${netX/mac} ${ipparam} - -goto ${menu} || - -:centos -clear osversion -set os CentOS -menu ${os} - ${arch} - Image Sig Checks: [${img_sigs_enabled}] -item 8.0.1905 ${os} 8.0 -item 8-stream ${os} 8.0 Stream -item 7.7.1908 ${os} 7.7 -isset ${osversion} || choose osversion || goto linux_menu -echo ${cls} -set dir ${centos_base_dir}/${osversion}/BaseOS/${arch}/os -iseq ${osversion} 7.7.1908 && set dir ${centos_base_dir}/${osversion}/os/${arch} || -set repo http://${centos_mirror}/${dir} -goto boottype - -:boottype -set ova ${os} ${osversion} -menu ${os} ${arch} boot type -item graphical ${ova} graphical installer -item text ${ova} text based installer -item rescue ${ova} rescue -item kickstart ${ova} set kickstart url [ ${ksurl} ] -item kickstart_device ${ova} set ksdevice [ ${ksdevice} ] -isset ${bt} || choose bt || goto centos -echo ${cls} -iseq ${bt} text && goto text || -iseq ${bt} rescue && goto rescue || -iseq ${bt} kickstart && goto kickstart || -iseq ${bt} kickstart_device && goto kickstart_device || -goto bootos_images - -:text -set params text || -goto bootos_images - -:rescue -set params rescue || -goto bootos_images - -:kickstart -echo -n Specify kickstart URL for ${os} ${osversion}: && read ksurl -set params ks=${ksurl} || -clear bt -goto boottype - -:kickstart_device -echo -n Specify ksdevice param for ${os} ${osversion}: && read ksdevice -set ksdevice ${ksdevice} || -clear bt -goto boottype - -:bootos_images -imgfree -kernel http://${centos_mirror}/${dir}/images/pxeboot/vmlinuz repo=${repo} ${params} ${console} ${ipparam} initrd=initrd.img -initrd http://${centos_mirror}/${dir}/images/pxeboot/initrd.img -echo -echo MD5sums: -md5sum vmlinuz initrd.img -iseq ${osversion} 8-stream && echo Rolling release, skipping sig checks && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz ${sigs}${dir}/images/pxeboot/vmlinuz.sig || goto error -imgverify initrd.img ${sigs}${dir}/images/pxeboot/initrd.img.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto linux_menu - -:linux_menu -clear menu -exit 0 diff --git a/src/coreos.ipxe b/src/coreos.ipxe deleted file mode 100644 index f3a8cc2e..00000000 --- a/src/coreos.ipxe +++ /dev/null @@ -1,45 +0,0 @@ -#!ipxe - -# Fedora CoreOS (Preview) -# https://getfedora.org/coreos/ - -goto ${menu} - -:coreos -set os Fedora CoreOS -isset ${install_device} || set install_device sda -isset ${ignition_url} || set ignition_url skip -menu ${os} -item --gap ${os}: -item beta ${space} ${os} 30 -item install_dev ${space} Set install device: ${install_device} -item ignition_config ${space} Set ignition config url: ${ignition_url} -choose --default ${menu} menu || goto coreos_exit -echo ${cls} -goto ${menu} || -goto coreos_exit - -:stable -:beta -:alpha -set release ${menu} -set base_url https://builds.coreos.fedoraproject.org/prod/streams/testing/builds -set build_version 30.20190716.1 -kernel ${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-installer-kernel nomodeset rd.neednet=1 coreos.inst=yes coreos.inst.install_dev=${install_device} coreos.inst.ignition_url=${ignition_url} ${console} coreos.inst.image_url=${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-metal.raw.xz initrd=fedora-coreos-${build_version}-installer-initramfs.img -initrd ${base_url}/${build_version}/x86_64/fedora-coreos-${build_version}-installer-initramfs.img -boot -goto coreos_exit - -:install_dev -echo -n Please set desired install device: && read install_device -clear menu -goto coreos - -:ignition_config -echo -n Please set Ignition Configuration URL: && read ignition_url -clear menu -goto coreos - -:coreos_exit -clear menu -exit 0 diff --git a/src/debian.ipxe b/src/debian.ipxe deleted file mode 100644 index ac10852f..00000000 --- a/src/debian.ipxe +++ /dev/null @@ -1,97 +0,0 @@ -#!ipxe - -# Debian Operating System -# http://www.debian.org - -goto ${menu} - -:debian -set os Debian -clear debian_version -clear older_release -menu ${os} - ${arch_a} - Image Sig Checks: [${img_sigs_enabled}] -item --gap Latest Releases -item buster ${space} ${os} 10.0 (buster) -item stretch ${space} ${os} 9.0 (stretch) -item jessie ${space} ${os} 8.0 (jessie) -item --gap Testing Releases -item bullseye ${space} ${os} bullseye (testing) -item sid ${space} ${os} sid (unstable) -item --gap Older Releases -item older_release ${space} Set release codename... -choose debian_version || goto debian_exit -iseq ${debian_version} older_release && goto older_release || -goto mirrorcfg - -:older_release -set older_release true -set debian_mirror archive.debian.org -echo Setting mirror to ${debian_mirror} -clear debian_version -echo -n Please set enter code name of release: ${} && read debian_version -set dir ${debian_base_dir}/dists/${debian_version}/main/installer-${arch_a}/current/images/netboot/ -goto deb_boot_type - -:mirrorcfg -set mirrorcfg mirror/suite=${debian_version} -set dir ${debian_base_dir}/dists/${debian_version}/main/installer-${arch_a}/current/images/netboot/ -goto deb_boot_type - -:deb_boot_type -menu ${os} [${debian_version}] Installer -item --gap Install types -item text ${space} Text Based Install -item graphical ${space} Graphical Based Install -item rescue ${space} Rescue Mode -item expert ${space} Expert Install -item preseed ${space} Specify preseed url... -choose --default ${type} type || goto debian - -echo ${cls} -goto deb_${type} - -:deb_rescue -set install_params rescue/enable=true -goto deb_text - -:deb_expert -set install_params priority=low -goto deb_text - -:deb_preseed -echo -n Specify preseed URL for ${os} ${debian_version}: && read preseedurl -set install_params auto=true priority=critical preseed/url=${preseedurl} -goto deb_text - -:deb_text -set dir ${dir}${menu}-installer/${arch_a} -goto deb_boot - -:deb_graphical -set dir ${dir}gtk/${menu}-installer/${arch_a} -set install_params vga=788 -goto deb_boot - -:deb_boot -imgfree -echo Boot parameters: ${install_params} -- quiet ${params} -kernel http://${debian_mirror}/${dir}/linux ${install_params} ${mirrorcfg} ${console} -- quiet ${params} initrd=initrd.gz -initrd http://${debian_mirror}/${dir}/initrd.gz -echo -echo MD5sums: -md5sum linux initrd.gz -iseq ${img_sigs_enabled} true && iseq ${older_release} true && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify linux ${sigs}${dir}/linux.sig || goto error -imgverify initrd.gz ${sigs}${dir}/initrd.gz.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot - -:debian_exit -clear menu -exit 0 diff --git a/src/devuan.ipxe b/src/devuan.ipxe deleted file mode 100644 index 7f532548..00000000 --- a/src/devuan.ipxe +++ /dev/null @@ -1,83 +0,0 @@ -#!ipxe - -# Devuan Operating System -# http://www.devuan.org - -goto ${menu} - -:devuan -set os Devuan -clear devuan_version -clear older_release -menu ${os} - ${arch_a} - Image Sig Checks: [${img_sigs_enabled}] -item --gap Latest Releases -item ascii ${space} ${os} ascii (stable) -item jessie ${space} ${os} 1.0 (jessie) -item --gap Testing Releases -item beowulf ${space} ${os} beowulf (testing) -choose devuan_version || goto devuan_exit -goto mirrorcfg - -:mirrorcfg -set mirrorcfg mirror/suite=${devuan_version} -set dir ${devuan_base_dir}/dists/${devuan_version}/main/installer-${arch_a}/current/images/netboot/ -goto devuan_boot_type - -:devuan_boot_type -menu ${os} [${devuan_version}] Installer -item --gap Install types -item text ${space} Text Based Install -item graphical ${space} Graphical Based Install -item rescue ${space} Rescue Mode -item expert ${space} Expert Install -item preseed ${space} Specify preseed url... -choose --default ${type} type || goto devuan - -echo ${cls} -goto devuan_${type} - -:devuan_rescue -set install_params rescue/enable=true -goto devuan_text - -:devuan_expert -set install_params priority=low -goto devuan_text - -:devuan_preseed -echo -n Specify preseed URL for ${os} ${devuan_version}: && read preseedurl -set install_params auto=true priority=critical preseed/url=${preseedurl} -goto devuan_text - -:devuan_text -set dir ${dir}debian-installer/${arch_a} -goto devuan_boot - -:devuan_graphical -set dir ${dir}gtk/debian-installer/${arch_a} -set install_params vga=788 -goto devuan_boot - -:devuan_boot -imgfree -echo Boot parameters: ${install_params} -- quiet ${params} -kernel http://${devuan_mirror}/${dir}/linux ${install_params} ${mirrorcfg} ${console} -- quiet ${params} initrd=initrd.gz -initrd http://${devuan_mirror}/${dir}/initrd.gz -echo -echo MD5sums: -md5sum linux initrd.gz -iseq ${img_sigs_enabled} true && iseq ${older_release} true && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify linux ${sigs}${dir}/linux.sig || goto error -imgverify initrd.gz ${sigs}${dir}/initrd.gz.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot - -:devuan_exit -clear menu -exit 0 diff --git a/src/fedora.ipxe b/src/fedora.ipxe deleted file mode 100644 index d22e7ba6..00000000 --- a/src/fedora.ipxe +++ /dev/null @@ -1,83 +0,0 @@ -#!ipxe - -# Fedora Operating System -# https://getfedora.org/ - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}:::none nameserver=${dns} -set ipparam BOOTIF=${netX/mac} ${ipparam} - -goto ${menu} || - -:fedora -clear osversion -clear sku_type -clear ova -set os Fedora -menu Fedora - ${arch} - Image Sig Checks: [${img_sigs_enabled}] -item --gap Latest Releases -item 31 ${space} ${os} 31 -item 30 ${space} ${os} 30 -item 29 ${space} ${os} 29 -iseq ${arch} x86_64 && item rawhide ${space} ${os} rawhide || -isset ${osversion} || choose osversion || goto linux_menu -set ova ${os} ${osversion} -goto product_sku - -:product_sku -menu ${os} ${arch} sku type -item Everything ${ova} Everything -item Server ${ova} Server -item Workstation ${ova} Workstation -item Atomic ${ova} Atomic -iseq ${arch} x86_64 && item Silverblue ${ova} Silverblue || -isset ${sku_type} || choose sku_type || goto fedora -set dir ${fedora_base_dir}/releases/${osversion}/${sku_type}/${arch}/os -iseq ${osversion} rawhide && set dir ${fedora_base_dir}/development/${osversion}/${sku_type}/${arch}/os || -iseq ${sku_type} Atomic && iseq ${osversion} 29 && set dir fedora-alt/atomic/stable/Fedora-Atomic-29-20181025.1/AtomicHost/x86_64/os || -set ova ${ova} ${sku_type} -echo ${cls} -goto boottype - -:boottype -menu ${os} ${arch} boot type -item normal ${ova} install -item rescue ${ova} rescue -item kickstart ${ova} specify kickstart url -isset ${bt} || choose bt || goto fedora -echo ${cls} -iseq ${bt} rescue && goto rescue || -iseq ${bt} kickstart && goto kickstart || -goto boot - -:rescue -set params rescue || -goto boot - -:kickstart -echo -n Specify kickstart URL for ${os} ${osversion}: && read ksurl -set params ks=${ksurl} || -goto boot - -:boot -imgfree -kernel http://${fedora_mirror}/${dir}/images/pxeboot/vmlinuz repo=http://${fedora_mirror}/${dir} ${params} ${console} ${ipparam} initrd=initrd.img -initrd http://${fedora_mirror}/${dir}/images/pxeboot/initrd.img -echo -echo MD5sums: -md5sum vmlinuz initrd.img -iseq ${osversion} rawhide && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz ${sigs}${dir}/images/pxeboot/vmlinuz.sig || goto error -imgverify initrd.img ${sigs}${dir}/images/pxeboot/initrd.img.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto linux_menu - -:linux_menu -clear menu -exit 0 diff --git a/src/flatcar.ipxe b/src/flatcar.ipxe deleted file mode 100644 index ce8b201b..00000000 --- a/src/flatcar.ipxe +++ /dev/null @@ -1,46 +0,0 @@ -#!ipxe - -# Container Linux by flatcar -# https://www.flatcar.com -# For further info on: -# iPXE and flatcar Container Linux: https://docs.flatcar-linux.org/os/booting-with-ipxe/ -# Setting up Ignition: https://docs.flatcar-linux.org/os/provisioning/ -# 64-bit only - -goto ${menu} - -:flatcar -set os Flatcar Linux -menu ${os} -item --gap ${os}: -item stable ${space} ${os} Stable Channel -item beta ${space} ${os} Beta Channel -item alpha ${space} ${os} Alpha Channel -item edge ${space} ${os} Edge Channel -item ignition_config ${space} Set flatcar.config.url: ${flatcar.config.url} -choose --default ${menu} menu || goto flatcar_exit -echo ${cls} -goto ${menu} || -goto flatcar_exit - -:stable -:beta -:alpha -:edge -set release ${menu} -set base-url http://${release}.release.flatcar-linux.net/amd64-usr/current -kernel ${base-url}/flatcar_production_pxe.vmlinuz ${flatcar_firstboot} ${flatcar_params} ${console} flatcar.autologin=tty1 flatcar.autologin=ttyS0 initrd=flatcar_production_pxe_image.cpio.gz -initrd ${base-url}/flatcar_production_pxe_image.cpio.gz -boot -goto flatcar_exit - -:ignition_config -echo -n Please set Ignition URL: && read flatcar.config.url -set flatcar_params flatcar.config.url=${flatcar.config.url} -set flatcar_firstboot flatcar.first_boot=1 -clear menu -goto flatcar - -:flatcar_exit -clear menu -exit 0 diff --git a/src/freebsd.ipxe b/src/freebsd.ipxe deleted file mode 100644 index 2af3b38a..00000000 --- a/src/freebsd.ipxe +++ /dev/null @@ -1,52 +0,0 @@ -#!ipxe - -# FreeBSD Operating System -# http://www.freebsd.org - -:freebsd_menu -menu Please pick a FreeBSD version -item 12.0 FreeBSD 12.0 -item 11.2 FreeBSD 11.2 -item 11.1 FreeBSD 11.1 -item 11.0 FreeBSD 11.0 -item 10.4 FreeBSD 10.4 -choose ver || goto freebsd_exit - -iseq ${ver} 12.0 && set image_ver 12.0-RELEASE || -iseq ${ver} 11.2 && set image_ver 11.2-RELEASE || -iseq ${ver} 11.1 && set image_ver 11.1-RELEASE || -iseq ${ver} 11.0 && set image_ver 11.0-RELEASE || -iseq ${ver} 10.4 && set image_ver 10.4-RELEASE || - -iseq ${arch} x86_64 && goto freebsd_x64 || -set freebsd_arch i386 -goto boot_freebsd - -:freebsd_x64 -set freebsd_arch amd64 -goto boot_freebsd - -:boot_freebsd -iseq ${ver} 12.0 && set image_subdir 12/${freebsd_arch} || -iseq ${ver} 11.2 && set image_subdir 11/${freebsd_arch} || -iseq ${ver} 11.1 && set image_subdir 11/${freebsd_arch} || -iseq ${ver} 11.0 && set image_subdir 11/${freebsd_arch} || -iseq ${ver} 10.4 && set image_subdir 10/${freebsd_arch} || -set src https://mfsbsd.vx.sk/files/images/${image_subdir}/mfsbsd-${image_ver}-${freebsd_arch}.img -imgfree -echo This loads an mfsbsd installer (http://mfsbsd.vx.sk/). -echo Root password for all images: mfsroot -echo You'll need to configure networking manually for the installer disk as -echo it uses dhcp by default: -echo ifconfig xn0 inet netmask 255.255.255.0 -echo route delete default; route add default -echo echo "nameserver x.x.x.x" > /etc/resolv.conf -echo Once network is configured, you can launch the usual installer: -echo bsdinstall -initrd ${src} -chain ${memdisk} harddisk raw -exit - -:freebsd_exit -clear menu -exit 0 diff --git a/src/freedos.ipxe b/src/freedos.ipxe deleted file mode 100644 index 3d3bed95..00000000 --- a/src/freedos.ipxe +++ /dev/null @@ -1,23 +0,0 @@ -#!ipxe - -# FreeDOS Operating System -# http://www.freedos.org - -:freedos_menu -menu FreeDOS -item --gap FreeDOS -item FD12FULL ${space} FreeDOS 1.2 Full Installer -item FD12LITE ${space} FreeDOS 1.2 Lite Installer -choose freedos_version || goto freedos_exit -echo ${cls} -goto freedos_install || goto freedos_exit - -:freedos_install -imgfree -kernel ${memdisk} -initrd http://www.freedos.org/download/download/${freedos_version}.zip -boot - -:freedos_exit -clear menu -exit 0 diff --git a/src/gentoo.ipxe b/src/gentoo.ipxe deleted file mode 100644 index df51ca29..00000000 --- a/src/gentoo.ipxe +++ /dev/null @@ -1,30 +0,0 @@ -#!ipxe - -# Gentoo Operating System -# http://www.gentoo.org - -# Note: in order to boot Gentoo via iPXE, the method at http://blog.dastrup.com/?p=12 has been utilized to -# to allow for the Gentoo minimal disk to boot. I've regenerated the latest boot disks and have put -# them on https://sourceforge.net/projects/netboot-xyz/files/distros/gentoo/amd64/20160204/ - -goto ${menu} - -:gentoo -set os gentoo -menu Gentoo ${arch_a} -item 20160204 Gentoo Minimal CD 20160204 (amd64) -choose gentoo_version || goto gentoo_exit -goto ${gentoo_version} - -:20160204 -set gentoopath https://master.dl.sourceforge.net/project/netboot-xyz/distros/gentoo/amd64/20160204 -echo Please note the gentoo ISO has been regenerated to work with iPXE -echo using the method here: http://blog.dastrup.com/?p=12 -kernel --name gentoo-kernel ${gentoopath}/kernel root=/dev/ram0 init=/linuxrc loop=/image.squashfs looptype=squashfs cdroot=1 real_root=/ ${console} -initrd --name gentoo-initrd.img ${gentoopath}/initrd -boot -goto gentoo - -:gentoo_exit -clear menu -chain linux.ipxe diff --git a/src/index.html b/src/index.html deleted file mode 100644 index a62f838c..00000000 --- a/src/index.html +++ /dev/null @@ -1,7 +0,0 @@ -#!ipxe -#### boot.netboot.xyz initial loader #### -#### see https://netboot.xyz for more information #### -set conn_type https -chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS failed... attempting HTTP... -set conn_type http -chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP failed, localbooting... diff --git a/src/ipfire.ipxe b/src/ipfire.ipxe deleted file mode 100644 index 2be7877a..00000000 --- a/src/ipfire.ipxe +++ /dev/null @@ -1,39 +0,0 @@ -#!ipxe - -# IPFire -# https://www.ipfire.org/ - -goto ${menu} || - -:ipfire -clear osversion -set os IPFire -menu ${os} - Image Sig Checks: [${img_sigs_enabled}] -item 2.21-core126 ${space} ${os} 2.21 Core 126 -isset ${osversion} || choose osversion || goto linux_menu -echo ${cls} -set ipfire_mirror downloads.ipfire.org -set dir releases/ipfire-2.x/${osversion}/images/x86_64 -goto ipfire_images - -:ipfire_images -imgfree -kernel https://${ipfire_mirror}/${dir}/vmlinuz ${console} vga=791 initrd=instroot -initrd https://${ipfire_mirror}/${dir}/instroot -echo -echo MD5sums: -md5sum vmlinuz instroot -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz ${sigs}ipfire/${dir}/vmlinuz.sig || goto error -imgverify instroot ${sigs}ipfire/${dir}/instroot.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot - -:ipfire_exit -clear menu -exit 0 diff --git a/src/kali.ipxe b/src/kali.ipxe deleted file mode 100644 index aa90cda2..00000000 --- a/src/kali.ipxe +++ /dev/null @@ -1,38 +0,0 @@ -#!ipxe - -# Kali Linux -# http://www.kali.org - -goto ${menu} || - -:kali -set os Kali Linux -menu ${os} - ${arch_a} -item rolling ${os} Rolling Edition (2019.4) -choose version || goto kali_exit - -:deb_boot_type -set dir kali/dists/kali-${version}/main/installer-${arch_a}/current/images/netboot -menu ${os} boot parameters -item text ${os} text based install -choose --default ${type} type || goto kali - -echo ${cls} -goto deb_${type} - -:deb_text -set dir ${dir}/debian-installer/${arch_a} -goto deb_boot - -:deb_boot -imgfree -kernel http://http.kali.org/${dir}/linux vga=788 ${console} -- quiet initrd=initrd.gz -initrd http://http.kali.org/${dir}/initrd.gz -echo -echo MD5sums: -md5sum linux initrd.gz -boot - -:kali_exit -clear menu -exit 0 diff --git a/src/linux-arm.ipxe b/src/linux-arm.ipxe deleted file mode 100644 index 0e62146e..00000000 --- a/src/linux-arm.ipxe +++ /dev/null @@ -1,37 +0,0 @@ -#!ipxe - -goto ${menu} || - -:linux_menu -menu Linux Installers - ARM ARCH **EXPERIMENTAL** Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap Popular Linux Operating Systems: -item centos ${space} CentOS -item debian ${space} Debian -item fedora ${space} Fedora -item opensuse ${space} openSUSE -item ubuntu ${space} Ubuntu -item --gap All Others: -#item alpinelinux ${space} Alpine Linux -#item devuan ${space} Devuan -#item coreos ${space} Fedora CoreOS (Preview) -#item flatcar ${space} Flatcar -#item nixos ${space} NixOS -item rhel ${space} Red Hat Enterprise Linux -#item tinycore ${space} Tiny Core Linux -choose menu || goto linux_exit -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto linux_menu - -:linux_exit -clear menu -exit 0 diff --git a/src/linux.ipxe b/src/linux.ipxe deleted file mode 100644 index 00d91932..00000000 --- a/src/linux.ipxe +++ /dev/null @@ -1,44 +0,0 @@ -#!ipxe - -goto ${menu} || - -:linux_menu -menu Linux Installers - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap Popular Linux Operating Systems: -item archlinux ${space} Arch Linux -item centos ${space} CentOS -item debian ${space} Debian -item fedora ${space} Fedora -item mageia ${space} Mageia -item opensuse ${space} openSUSE -item ubuntu ${space} Ubuntu -item --gap All Others: -item alpinelinux ${space} Alpine Linux -item devuan ${space} Devuan -item coreos ${space} Fedora CoreOS (Preview) -item flatcar ${space} Flatcar -item gentoo ${space} Gentoo Linux -item ipfire ${space} IPFire -item nixos ${space} NixOS -item rancheros ${space} RancherOS -item rhel ${space} Red Hat Enterprise Linux -item scientific ${space} Scientific -item slackware ${space} Slackware -item tinycore ${space} Tiny Core Linux -choose menu || goto linux_exit -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto linux_menu - -:linux_exit -clear menu -exit 0 diff --git a/src/live-backbox.ipxe b/src/live-backbox.ipxe deleted file mode 100644 index e63f7d35..00000000 --- a/src/live-backbox.ipxe +++ /dev/null @@ -1,28 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os BackBox -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 6 ${space} ${os} 6 -choose live_version || goto live_exit -goto ${live_version} - -:6 -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/6-b44ce5ee/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 6-boot - -:6-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-debian.ipxe b/src/live-debian.ipxe deleted file mode 100644 index 4a9cd12a..00000000 --- a/src/live-debian.ipxe +++ /dev/null @@ -1,76 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Debian Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item buster ${space} ${os} 10 (buster) -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:stretch -goto flavor_select - -:buster -item debian-10-cinnamon-squash ${space} Debian 10 Cinnamon -item debian-10-default-squash ${space} Debian 10 Core -item debian-10-gnome-squash ${space} Debian 10 Gnome -item debian-10-kde-squash ${space} Debian 10 Kde -item debian-10-lxde-squash ${space} Debian 10 Lxde -item debian-10-lxqt-squash ${space} Debian 10 Lxqt -item debian-10-mate-squash ${space} Debian 10 Mate -item debian-10-xfce-squash ${space} Debian 10 Xfce -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:debian-10-cinnamon-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-51162b7a/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-default-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-600c59c0/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-gnome-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-787d3b4a/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-kde-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-88a7a1a3/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-lxde-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-30a4aa90/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-lxqt-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-39d7e341/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-mate-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-466ca031/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot -:debian-10-xfce-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/10.2.0-a0eae41d/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto boot - -:boot -imgfree -kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 diff --git a/src/live-elementary.ipxe b/src/live-elementary.ipxe deleted file mode 100644 index f3722219..00000000 --- a/src/live-elementary.ipxe +++ /dev/null @@ -1,27 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os elementary OS -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item elementaryos-5-default-squash ${space} ${os} 5.1 (Hera) -choose live_version || goto live_exit -goto ${live_version} - -:elementaryos-5-default-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/5-14ff2c98/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto boot - -:boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 diff --git a/src/live-fedora.ipxe b/src/live-fedora.ipxe deleted file mode 100644 index 1c559ef2..00000000 --- a/src/live-fedora.ipxe +++ /dev/null @@ -1,69 +0,0 @@ -#!ipxe - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}:::none nameserver=${dns} -set ipparam BOOTIF=${netX/mac} ${ipparam} - -goto ${menu} || - -:live_menu -set os Fedora Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 31 ${space} ${os} 31 -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:31 -item fedora-31-Cinnamon ${space} Fedora 31 Cinnamon -item fedora-31-KDE ${space} Fedora 31 Kde -item fedora-31-LXDE ${space} Fedora 31 Lxde -item fedora-31-LXQt ${space} Fedora 31 Lxqt -item fedora-31-MATE_Compiz ${space} Fedora 31 Mate_compiz -item fedora-31-SoaS ${space} Fedora 31 Soas -item fedora-31-Xfce ${space} Fedora 31 Xfce -item fedora-31-gnome ${space} Fedora 31 Gnome -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:fedora-31-Cinnamon -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-5a52a02a/ -goto boot -:fedora-31-KDE -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-dfbbe3cc/ -goto boot -:fedora-31-LXDE -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-c23f0dc4/ -goto boot -:fedora-31-LXQt -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-19db8480/ -goto boot -:fedora-31-MATE_Compiz -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-29013501/ -goto boot -:fedora-31-SoaS -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-28104ec6/ -goto boot -:fedora-31-Xfce -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-00e3a627/ -goto boot -:fedora-31-gnome -set live_url ${live_endpoint}/fedora-assets/releases/download/1.9-808bb0da/ -goto boot - -:boot -imgfree -kernel ${live_url}vmlinuz ${ipparam} root=live:${live_url}squashfs.img ro rd.live.image rd.lvm=0 rd.luks=0 rd.md=0 rd.dm=0 initrd=initrd -initrd ${live_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-kali.ipxe b/src/live-kali.ipxe deleted file mode 100644 index e10304bc..00000000 --- a/src/live-kali.ipxe +++ /dev/null @@ -1,64 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Kali Linux -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item rolling ${space} ${os} Rolling -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:rolling -item kali-gnome-squash ${space} Kali Rolling GNOME -item kali-kde-squash ${space} Kali Rolling KDE -item kali-light-squash ${space} Kali Rolling LIGHT -item kali-lxde-squash ${space} Kali Rolling LXDE -item kali-mate-squash ${space} Kali Rolling MATE -item kali-xfce-squash ${space} Kali Rolling XFCE -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:kali-gnome-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-734e93c5/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot -:kali-kde-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-d761db15/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot -:kali-light-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-544b485d/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot -:kali-lxde-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-78e57944/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot -:kali-mate-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-0e4d0210/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot -:kali-xfce-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/2019.4-00ef2578/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.9-3kali1-e9b26579/ -goto boot - -:boot -imgfree -kernel ${kernel_url}vmlinuz boot=live components username=root hostname=kali fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-manjaro.ipxe b/src/live-manjaro.ipxe deleted file mode 100644 index bde64faf..00000000 --- a/src/live-manjaro.ipxe +++ /dev/null @@ -1,52 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -menu Manjaro Live - Current Arch [ ${arch} ] -item --gap Currently during boot you need to press ctrl+d/ctrl+c -item --gap repeatedly when init hangs on starting a download -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap Manjaro Live -item manjaro-18.1.0-default-squash ${space} Manjaro 18.1.0 Architect -item manjaro-18.1.0-gnome-squash ${space} Manjaro 18.1.0 Gnome -item manjaro-18.1.0-kde-squash ${space} Manjaro 18.1.0 Kde -item manjaro-18.1.0-xfce-squash ${space} Manjaro 18.1.0 Xfce -choose menu || goto live_exit -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:manjaro-18.1.0-default-squash -imgfree -set fetch_url ${live_endpoint}/manjaro-squash/releases/download/18.1.0-a9fc9ad4/ -kernel ${live_endpoint}/manjaro-core-18.x/releases/download/4.19.69-1-MANJARO-6946b4cf/vmlinuz misobasedir=manjaro ip=dhcp miso_http_srv=${fetch_url} nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 driver=free tz=UTC lang=en_US keytable=us systemdshow_status=1 apparmor=1 security=apparmor -initrd ${live_endpoint}/manjaro-core-18.x/releases/download/4.19.69-1-MANJARO-6946b4cf/initrd -boot -:manjaro-18.1.0-gnome-squash -imgfree -set fetch_url ${live_endpoint}/manjaro-squash/releases/download/18.1.0-f94efa23/ -kernel ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/vmlinuz misobasedir=manjaro ip=dhcp miso_http_srv=${fetch_url} nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 driver=free tz=UTC lang=en_US keytable=us systemdshow_status=1 apparmor=1 security=apparmor -initrd ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/initrd -boot -:manjaro-18.1.0-kde-squash -imgfree -set fetch_url ${live_endpoint}/manjaro-squash/releases/download/18.1.0-a3f2c12b/ -kernel ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/vmlinuz misobasedir=manjaro ip=dhcp miso_http_srv=${fetch_url} nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 driver=free tz=UTC lang=en_US keytable=us systemdshow_status=1 apparmor=1 security=apparmor -initrd ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/initrd -boot -:manjaro-18.1.0-xfce-squash -imgfree -set fetch_url ${live_endpoint}/manjaro-squash/releases/download/18.1.0-5dc05378/ -kernel ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/vmlinuz misobasedir=manjaro ip=dhcp miso_http_srv=${fetch_url} nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 driver=free tz=UTC lang=en_US keytable=us systemdshow_status=1 apparmor=1 security=apparmor -initrd ${live_endpoint}/manjaro-core-18.x/releases/download/5.2.11-1-MANJARO-e2cddd8e/initrd -boot - -:change_menu -chain ${menu}.ipxe || goto error -goto live_menu - -:live_exit -clear menu -exit 0 - diff --git a/src/live-mint.ipxe b/src/live-mint.ipxe deleted file mode 100644 index a471430b..00000000 --- a/src/live-mint.ipxe +++ /dev/null @@ -1,49 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Mint Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 19 ${space} ${os} 19 -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:19 -item mint-19-cinnamon-squash ${space} Mint 19 Cinnamon -item mint-19-mate-squash ${space} Mint 19 Mate -item mint-19-xfce-squash ${space} Mint 19 Xfce -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:mint-19-cinnamon-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/19.2-0830904d/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 19-boot -:mint-19-mate-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/19.2-0b1e2ee6/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 19-boot -:mint-19-xfce-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/19.2-69724a44/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 19-boot - -:19-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-peppermint.ipxe b/src/live-peppermint.ipxe deleted file mode 100644 index c3f5918d..00000000 --- a/src/live-peppermint.ipxe +++ /dev/null @@ -1,28 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Peppermint -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 10 ${space} ${os} 10 -choose live_version || goto live_exit -goto ${live_version} - -:10 -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/10-3bce362b/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 10-boot - -:10-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-popos.ipxe b/src/live-popos.ipxe deleted file mode 100644 index 67ff281f..00000000 --- a/src/live-popos.ipxe +++ /dev/null @@ -1,39 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Pop OS -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 18.04 ${space} ${os} 18.04 -item 19.10 ${space} ${os} 19.10 -choose live_version || goto live_exit -goto ${live_version} - -:18.04 -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/57-b1e9a9cc/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:19.10 -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/10-317de200/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot - -:18.04-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:19.10-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-q4os.ipxe b/src/live-q4os.ipxe deleted file mode 100644 index 037d51fe..00000000 --- a/src/live-q4os.ipxe +++ /dev/null @@ -1,44 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Q4OS Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 3.9 ${space} ${os} 3.9 -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:3.9 -item q4os-3.9-default-squash ${space} Q4os 3.9 Trinity -item q4os-3.9-plasma-squash ${space} Q4os 3.9 Plasma -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:q4os-3.9-default-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/3.9-a721c7cc/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto 3.9-boot -:q4os-3.9-plasma-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/3.9-8b894afb/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -goto 3.9-boot - -:3.9-boot -imgfree -kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-tails.ipxe b/src/live-tails.ipxe deleted file mode 100644 index 29549521..00000000 --- a/src/live-tails.ipxe +++ /dev/null @@ -1,27 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Tails -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item tails-4.0-default-squash ${space} ${os} 4.0 -choose live_version || goto live_exit -goto ${live_version} - -:tails-4.0-default-squash -set squash_url ${live_endpoint}/debian-squash/releases/download/4.0-41d3900f/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/5.3.2-1-fbccf8d7/ -goto boot - -:boot -imgfree -kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd nopersistence noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 splash noautologin module=Tails slab_nomerge slub_debug=FZP mce=0 vsyscall=none page_poison=1 mds=full,nosmt union=aufs -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 diff --git a/src/live-ubuntu.ipxe b/src/live-ubuntu.ipxe deleted file mode 100644 index 1ef4c7b1..00000000 --- a/src/live-ubuntu.ipxe +++ /dev/null @@ -1,114 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Ubuntu Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item bionic ${space} ${os} 18.04 -item eoan ${space} ${os} 19.10 -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:bionic -item ubuntu-18.04-Budgie-squash ${space} Ubuntu 18.04 Budgie -item ubuntu-18.04-KDE-squash ${space} Ubuntu 18.04 Kde -item ubuntu-18.04-LXDE-squash ${space} Ubuntu 18.04 Lxde -item ubuntu-18.04-MATE-squash ${space} Ubuntu 18.04 Mate -item ubuntu-18.04-default-squash ${space} Ubuntu 18.04 Unity -item ubuntu-18.04-kylin-squash ${space} Ubuntu 18.04 Kylin -item ubuntu-18.04-xfce-squash ${space} Ubuntu 18.04 Xfce -goto flavor_select - -:eoan -item ubuntu-19.10-Budgie-squash ${space} Ubuntu 19.10 Budgie -item ubuntu-19.10-KDE-squash ${space} Ubuntu 19.10 Kde -item ubuntu-19.10-LXDE-squash ${space} Ubuntu 19.10 Lxde -item ubuntu-19.10-MATE-squash ${space} Ubuntu 19.10 Mate -item ubuntu-19.10-default-squash ${space} Ubuntu 19.10 Unity -item ubuntu-19.10-kylin-squash ${space} Ubuntu 19.10 Kylin -item ubuntu-19.10-xfce-squash ${space} Ubuntu 19.10 Xfce -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:ubuntu-18.04-Budgie-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-fbf44fff/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-KDE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-33e8e2f8/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-LXDE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-2f9cd5be/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-MATE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-c629718a/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-default-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-9e60a38f/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-kylin-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-8c2102eb/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-18.04-xfce-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/18.04.3-d9bd73c3/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 18.04-boot -:ubuntu-19.10-Budgie-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/945f7f4b-85bee8cf/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-KDE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/9854741e-b243fefb/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-LXDE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/8b8b0336-f53591b5/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-MATE-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/b8a2a185-48069fc4/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-default-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/ee829212-575f2ecf/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-kylin-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/e7831484-762c8439/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot -:ubuntu-19.10-xfce-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/862cad91-9437400f/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -goto 19.10-boot - -:18.04-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:19.10-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live-voyager.ipxe b/src/live-voyager.ipxe deleted file mode 100644 index a5f13c3c..00000000 --- a/src/live-voyager.ipxe +++ /dev/null @@ -1,41 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Voyager Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item bionic ${space} ${os} Bionic -item buster ${space} ${os} Buster -item eoan ${space} ${os} Eoan -choose live_version || goto live_exit - -:bionic -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/bionic-c535c643/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:buster -set squash_url ${live_endpoint}/debian-squash/releases/download/buster-1e606829/filesystem.squashfs -set kernel_url ${live_endpoint}/debian-core-10/releases/download/4.19.67-2+deb10u1-4acbfed0/ -imgfree -kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:eoan -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/eoan-5a6a8fab/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-19.10/releases/download/5.3.0.18.21-aa695b8a/ -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 diff --git a/src/live-zorin.ipxe b/src/live-zorin.ipxe deleted file mode 100644 index 37d82085..00000000 --- a/src/live-zorin.ipxe +++ /dev/null @@ -1,44 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -set os Zorin Live -menu ${os} - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap ${os} Versions -item 15 ${space} ${os} 15 -choose live_version || goto live_exit -menu ${os} ${live_version} -item --gap ${os} Flavors -goto ${live_version} - -:15 -item zorin-15-gnome-squash ${space} Zorin 15 Gnome -item zorin-15-xfce-squash ${space} Zorin 15 Xfce -goto flavor_select - -:flavor_select -choose flavor || goto live_menu -echo ${cls} -goto ${flavor} || - -:zorin-15-gnome-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/15-171ddffc/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 15-boot -:zorin-15-xfce-squash -set squash_url ${live_endpoint}/ubuntu-squash/releases/download/15-24926a26/filesystem.squashfs -set kernel_url ${live_endpoint}/ubuntu-core-18.04/releases/download/4.15.0.20.23-91c3d317/ -goto 15-boot - -:15-boot -imgfree -kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd -initrd ${kernel_url}initrd -boot - -:live_exit -clear menu -exit 0 - diff --git a/src/live.ipxe b/src/live.ipxe deleted file mode 100644 index d868c4df..00000000 --- a/src/live.ipxe +++ /dev/null @@ -1,37 +0,0 @@ -#!ipxe - -goto ${menu} || - -:live_menu -menu Live Boot Distributions - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap Live Boot Distributions -item live-backbox ${space} BackBox -item live-debian ${space} Debian -item live-elementary ${space} elementary OS -item live-fedora ${space} Fedora -item live-kali ${space} Kali -item live-q4os ${space} Q4OS -item live-manjaro ${space} Manjaro -item live-mint ${space} Mint -item live-peppermint ${space} Peppermint -item live-popos ${space} Pop OS -item live-ubuntu ${space} Ubuntu -item live-voyager ${space} Voyager -item live-zorin ${space} Zorin OS -choose menu || goto live_exit -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto live_menu - -:live_exit -clear menu -exit 0 diff --git a/src/livegrml.ipxe b/src/livegrml.ipxe deleted file mode 100644 index e8e08b89..00000000 --- a/src/livegrml.ipxe +++ /dev/null @@ -1,51 +0,0 @@ -#!ipxe - -# Grml Live Linux -# https://grml.org - -goto ${menu} - -:livegrml -set os Grml Live Linux -menu ${os} -item --gap Versions -item grml-full ${space} ${os} 2018.12 Full -item grml-small ${space} ${os} 2018.12 Small -choose livegrml_version || goto livegrml_exit -echo ${cls} -goto ${livegrml_version} || -chain ${menu}.ipxe || goto livegrml_exit -goto livegrml_exit - -:grml-full -set util_path download.grml.org/grml64-full_2018.12.iso -set util_file grml64-full_2018.12.iso -goto boot_memdisk - -:grml-small -set util_path download.grml.org/grml64-small_2018.12.iso -set util_file grml64-small_2018.12.iso -goto boot_memdisk - -:boot_memdisk -imgfree -kernel ${memdisk} iso raw -initrd --name ${util_file} http://${util_path} -echo -echo MD5sums: -md5sum memdisk ${util_file} -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify memdisk ${sigs}memdisk.sig || goto error -imgverify ${util_file} ${sigs}${menu}/${util_file}.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto livegrml_exit - -:livegrml_exit -clear menu -exit 0 diff --git a/src/mageia.ipxe b/src/mageia.ipxe deleted file mode 100644 index 009c815f..00000000 --- a/src/mageia.ipxe +++ /dev/null @@ -1,43 +0,0 @@ -#!ipxe - -# Mageia Operating System -# http://www.mageia.org/ - -# No way to set the network interface by MAC address, let the installer ask the question -isset ${dhcp-server} && set network dhcp || set network static,ip:${ip},netmask:${netmask},gateway:${gateway},dns:${dns} - -goto ${menu} || - -:mageia -set os Mageia -menu Mageia - ${arch} - Image Sig Checks: [${img_sigs_enabled}] -item 7.1 ${os} 7.1 -item cauldron ${os} cauldron -choose version || goto mageia_exit -goto mageia_boot - -:mageia_boot -set dir ${mageia_base_dir}/distrib/${version}/x86_64 && set dir2 isolinux/x86_64 || -iseq ${arch} i386 && set dir ${mageia_base_dir}/distrib/${version}/i586 && set dir2 isolinux/i386 || -set automatic method:http,network:${network},server:${mageia_mirror},directory:/${dir} -imgfree -kernel http://${mageia_mirror}/${dir}/${dir2}/vmlinuz -initrd http://${mageia_mirror}/${dir}/${dir2}/all.rdz -imgargs vmlinuz automatic=${automatic} vga=788 splash=silent ${console} initrd=all.rdz -echo -echo MD5sums: -md5sum vmlinuz all.rdz -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify vmlinuz ${sigs}${dir}/${dir2}/vmlinuz.sig || goto error -imgverify all.rdz ${sigs}${dir}/${dir2}/all.rdz.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot || goto mageia - -:mageia_exit -clear menu -exit 0 diff --git a/src/memdisk b/src/memdisk deleted file mode 100644 index 8bcf4eff..00000000 Binary files a/src/memdisk and /dev/null differ diff --git a/src/menu.ipxe b/src/menu.ipxe deleted file mode 100644 index c232b385..00000000 --- a/src/menu.ipxe +++ /dev/null @@ -1,106 +0,0 @@ -#!ipxe - -:start -chain --autofree boot.cfg || -iseq ${cls} serial && goto ignore_cls || -set cls:hex 1b:5b:4a # ANSI clear screen sequence - "^[[J" -set cls ${cls:string} -:ignore_cls - -:version_check -set latest_version 1.04 -echo ${cls} -iseq ${version} ${latest_version} && goto version_up2date || -echo -echo Updated version of netboot.xyz is available: -echo -echo Running version.....${version} -echo Updated version.....${latest_version} -echo -echo Please download the latest version from netboot.xyz. -echo -echo Attempting to chain to latest version... -chain --autofree http://${boot_domain}/ipxe/${ipxe_disk} || -:version_up2date - -isset ${arch} && goto skip_arch_detect || -cpuid --ext 29 && set arch x86_64 || set arch i386 -iseq ${buildarch} arm64 && set arch arm64 || -:skip_arch_detect -isset ${menu} && goto ${menu} || - -isset ${ip} || dhcp || echo DHCP failed - -:main_menu -clear menu -set space:hex 20:20 -set space ${space:string} -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -menu ${site_name} -item --gap Default: -item local ${space} Boot from local hdd -item --gap Distributions: -iseq ${menu_linux} 1 && item linux ${space} Linux Installs || -iseq ${menu_linux_arm} 1 && item linux-arm ${space} Linux Installs || -iseq ${menu_live} 1 && item live ${space} Live CDs (experimental) || -iseq ${menu_bsd} 1 && item bsd ${space} BSD Installs || -iseq ${menu_freedos} 1 && item freedos ${space} FreeDOS || -iseq ${menu_security} 1 && item security ${space} Security Related || -iseq ${menu_windows} 1 && item windows ${space} Windows || -item --gap Tools: -iseq ${menu_utils} 1 && item utils ${space} Utilities || -iseq ${menu_utils_arm} 1 && item utils-arm ${space} Utilities || -iseq ${arch} x86_64 && set bits 64 || set bits 32 -item changebits ${space} Architecture: ${arch} (${bits}bit) -item shell ${space} iPXE shell -item news ${space} netboot.xyz news -item netinfo ${space} Network card info -item --gap Signature Checks: -item sig_check ${space} netboot.xyz [ enabled: ${sigs_enabled} ] -item img_sigs_check ${space} Images [ enabled: ${img_sigs_enabled} ] -isset ${github_user} && item --gap Custom Menu: || -isset ${github_user} && item nbxyz-custom ${space} ${github_user}'s Custom Menu || -isset ${menu} && set timeout 0 || set timeout 300000 -choose --timeout ${timeout} --default ${menu} menu || goto local -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto main_menu - -:error -echo Error occured, press any key to return to menu ... -prompt -goto main_menu - -:local -echo Booting from local disks ... -exit 0 - -:shell -echo Type "exit" to return to menu. -set menu main_menu -shell -goto main_menu - -:changebits -iseq ${arch} x86_64 && set arch i386 || set arch x86_64 -goto main_menu - -:sig_check -iseq ${sigs_enabled} true && set sigs_enabled false || set sigs_enabled true -goto main_menu - -:img_sigs_check -iseq ${img_sigs_enabled} true && set img_sigs_enabled false || set img_sigs_enabled true -goto main_menu - -:nbxyz-custom -chain https://raw.githubusercontent.com/${github_user}/netboot.xyz-custom/master/custom.ipxe || goto error -goto main_menu diff --git a/src/mirbsd.ipxe b/src/mirbsd.ipxe deleted file mode 100644 index 14057ca8..00000000 --- a/src/mirbsd.ipxe +++ /dev/null @@ -1,22 +0,0 @@ -#!ipxe - -# MirOS BSD Operating System -# https://www.mirbsd.org/ - -:mirbsd_menu -menu Please pick a MirOS version -item mirbsd ${space} MirBSD (i386) Latest -choose mirbsd_version || goto mirbsd_exit -goto boot_mirbsd - -:boot_mirbsd -imgfree -kernel https://www.mirbsd.org/MirOS/current/bsd4me.com -module https://www.mirbsd.org/MirOS/current/bsd4me.rd -module https://www.mirbsd.org/MirOS/webstuff/netboot.xyz/boot.cfg -boot -goto mirbsd_exit - -:mirbsd_exit -clear menu -exit 0 diff --git a/src/netinfo.ipxe b/src/netinfo.ipxe deleted file mode 100644 index 3ee6139f..00000000 --- a/src/netinfo.ipxe +++ /dev/null @@ -1,21 +0,0 @@ -#!ipxe - -menu Network info -item --gap MAC: -item mac ${space} ${netX/mac} -item --gap IP/mask: -item ip ${space} ${netX/ip}/${netX/netmask} -item --gap Gateway: -item gw ${space} ${netX/gateway} -item --gap Domain: -item domain ${space} ${netX/domain} -item --gap DNS: -item dns ${space} ${netX/dns} -item --gap DHCP server: -item dhcpserver ${space} ${netX/dhcp-server} -item --gap Next-server: -item nextserver ${space} ${next-server} -item --gap Filename: -item filename ${space} ${netX/filename} -choose empty || -exit diff --git a/src/news.ipxe b/src/news.ipxe deleted file mode 100644 index d31f2f4f..00000000 --- a/src/news.ipxe +++ /dev/null @@ -1,45 +0,0 @@ -#!ipxe -set esc:hex 1b -set bold ${esc:string}[1m -set ital ${esc:string}[3m -set under ${esc:string}[4m -set boldoff ${esc:string}[22m -set italoff ${esc:string}[23m -set underoff ${esc:string}[24m -set fs_bla ${esc:string}[30m -set fg_red ${esc:string}[31m -set fg_gre ${esc:string}[32m -set fg_yel ${esc:string}[33m -set fg_blu ${esc:string}[34m -set fg_mag ${esc:string}[35m -set fg_cya ${esc:string}[36m -set fg_whi ${esc:string}[37m - -:netnews -menu ${fg_cya}${bold}netboot.xyz updates -item exit ${bold}Exit back to main menu...${boldoff} -item --gap -- -------------------------------------------------------------------------- -item news ${fg_gre}${bold}Self Hosting and Live Booting - November 29, 2019 -item news ${fg_gre}${bold}Full Article: ${fg_whi}${bold}https://netboot.xyz/blog/ -item news -item news ${fg_yel}${bold}* Self hosting options using Ansible and Docker (soon) -item news ${fg_yel}${bold}* Live Boot options now available with more on the way -item news ${fg_yel}${bold}${space}Allows you to PXE boot into a Live Desktop from Github -item news ${fg_yel}${bold}* netboot.xyz repo moving to netbootxyz org on github -item --gap -- -------------------------------------------------------------------------- -item news ${fg_cya}${bold}Follow us on Twitter: ${fg_whi}${bold}@netbootxyz -item --gap -- -------------------------------------------------------------------------- -item news ${fg_gre}${bold}Join us on Discord: ${fg_whi}${bold}https://discord.gg/An6PA2a -item --gap -- -------------------------------------------------------------------------- -item news ${fg_gre}${bold}Sponsorship: ${fg_whi}${bold}https://opencollective.com/netbootxyz -item --gap -- -------------------------------------------------------------------------- -choose selected || goto exit -goto ${selected} - -:news -clear menu -goto netnews - -:exit -clear menu -exit diff --git a/src/nixos.ipxe b/src/nixos.ipxe deleted file mode 100644 index befe43ab..00000000 --- a/src/nixos.ipxe +++ /dev/null @@ -1,21 +0,0 @@ -#!ipxe - -# NixOS -# https://nixos.org/ - -set os Nixos Linux -menu ${os} -item --gap Official Releases -item 19.09 ${space} Nixos 19.09 -item 19.03 ${space} Nixos 19.03 -item unstable ${space} Nixos unstable -choose version || goto nixos_exit -iseq ${version} 19.09 && set link https://hydra.nixos.org/job/nixos/release-19.09/nixos.netboot.x86_64-linux/latest-finished/download/netboot.ipxe || -iseq ${version} 19.03 && set link https://hydra.nixos.org/job/nixos/release-19.03/nixos.netboot.x86_64-linux/latest-finished/download/netboot.ipxe || -iseq ${version} unstable && set link https://hydra.nixos.org/job/nixos/trunk-combined/nixos.netboot.x86_64-linux/latest-finished/download/netboot.ipxe || -chain ${link} -goto nixos_exit - -:nixos_exit -clear menu -exit 0 diff --git a/src/openbsd.ipxe b/src/openbsd.ipxe deleted file mode 100644 index 02cbcbd3..00000000 --- a/src/openbsd.ipxe +++ /dev/null @@ -1,37 +0,0 @@ -#!ipxe - -# OpenBSD Operating System -# http://www.openbsd.org - -:openbsd_menu -menu OpenBSD -item 6.6 OpenBSD 6.6 -item 6.5 OpenBSD 6.5 -item 6.4 OpenBSD 6.4 -item 6.3 OpenBSD 6.3 -item snapshots OpenBSD 6.4 Latest Snapshot -choose ver || goto openbsd_exit -iseq ${ver} 6.6 && set image_ver 66 || -iseq ${ver} 6.5 && set image_ver 65 || -iseq ${ver} 6.4 && set image_ver 64 || -iseq ${ver} 6.3 && set image_ver 63 || -iseq ${ver} snapshots && set image_ver 66 || - -iseq ${arch} x86_64 && goto openbsd_x64 || -set openbsd_arch i386 -goto boot_openbsd - -:openbsd_x64 -set openbsd_arch amd64 -goto boot_openbsd - -:boot_openbsd -set src http://ftp.openbsd.org/pub/OpenBSD/${ver}/${openbsd_arch}/cd${image_ver}.iso -imgfree -initrd ${src} -chain ${memdisk} iso raw -exit - -:openbsd_exit -clear menu -exit 0 diff --git a/src/opensuse.ipxe b/src/opensuse.ipxe deleted file mode 100644 index b8ac7908..00000000 --- a/src/opensuse.ipxe +++ /dev/null @@ -1,90 +0,0 @@ -#!ipxe - -# OpenSUSE Operating System -# http://opensuse.org - -isset ${dhcp-server} || goto static_ip -set netsetup netsetup=dhcp -goto goto_menu - -:static_ip -# Need to convert netmask into prefix, because otherwise the installer -# accepts it but configures the network with /32 prefix, which installs -# fine but breaks connectivity to devices in the same network. -set prefix 32 - -iseq ${netmask} 0.0.0.0 && set prefix 0 || - -iseq ${netmask} 128.0.0.0 && set prefix 1 || -iseq ${netmask} 192.0.0.0 && set prefix 2 || -iseq ${netmask} 224.0.0.0 && set prefix 3 || -iseq ${netmask} 240.0.0.0 && set prefix 4 || -iseq ${netmask} 248.0.0.0 && set prefix 5 || -iseq ${netmask} 252.0.0.0 && set prefix 6 || -iseq ${netmask} 254.0.0.0 && set prefix 7 || -iseq ${netmask} 255.0.0.0 && set prefix 8 || - -iseq ${netmask} 255.128.0.0 && set prefix 9 || -iseq ${netmask} 255.192.0.0 && set prefix 10 || -iseq ${netmask} 255.224.0.0 && set prefix 11 || -iseq ${netmask} 255.240.0.0 && set prefix 12 || -iseq ${netmask} 255.248.0.0 && set prefix 13 || -iseq ${netmask} 255.252.0.0 && set prefix 14 || -iseq ${netmask} 255.254.0.0 && set prefix 15 || -iseq ${netmask} 255.255.0.0 && set prefix 16 || - -iseq ${netmask} 255.255.128.0 && set prefix 17 || -iseq ${netmask} 255.255.192.0 && set prefix 18 || -iseq ${netmask} 255.255.224.0 && set prefix 19 || -iseq ${netmask} 255.255.240.0 && set prefix 20 || -iseq ${netmask} 255.255.248.0 && set prefix 21 || -iseq ${netmask} 255.255.252.0 && set prefix 22 || -iseq ${netmask} 255.255.254.0 && set prefix 23 || -iseq ${netmask} 255.255.255.0 && set prefix 24 || - -iseq ${netmask} 255.255.255.128 && set prefix 25 || -iseq ${netmask} 255.255.255.192 && set prefix 26 || -iseq ${netmask} 255.255.255.224 && set prefix 27 || -iseq ${netmask} 255.255.255.240 && set prefix 28 || -iseq ${netmask} 255.255.255.248 && set prefix 29 || -iseq ${netmask} 255.255.255.252 && set prefix 30 || -iseq ${netmask} 255.255.255.254 && set prefix 31 || -iseq ${netmask} 255.255.255.255 && set prefix 32 || - -set netsetup netsetup=hostip,gateway,nameserver hostip=${ip}/${prefix} gateway=${gateway} nameserver=${dns} - -:goto_menu -set netsetup ${netsetup} BOOTIF=${netX/mac} - -set distro opensuse -menu openSUSE - ${arch} - Image Sig Checks: [${img_sigs_enabled}] -item 15.1 openSUSE Leap 15.1 -item 15.0 openSUSE Leap 15.0 -item 42.3 openSUSE Leap 42.3 -item tumbleweed openSUSE tumbleweed -choose version || goto opensuse_exit -set dir ${opensuse_base_dir}/${version}/repo/oss -iseq ${version} tumbleweed && set dir ${version}/repo/oss || - -imgfree -kernel http://${opensuse_mirror}/${dir}/boot/x86_64/loader/linux -initrd http://${opensuse_mirror}/${dir}/boot/x86_64/loader/initrd -imgargs linux ${netsetup} install=http://${opensuse_mirror}/${dir} ${params} ${console} initrd=initrd -echo -echo MD5sums: -md5sum linux initrd -iseq ${img_sigs_enabled} true && iseq ${version} tumbleweed && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify linux ${sigs}${distro}/${dir}/boot/x86_64/loader/linux.sig || goto error -imgverify initrd ${sigs}${distro}/${dir}/boot/x86_64/loader/initrd.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot - -:opensuse_exit -clear menu -exit 0 diff --git a/src/parrotsec.ipxe b/src/parrotsec.ipxe deleted file mode 100644 index c175f937..00000000 --- a/src/parrotsec.ipxe +++ /dev/null @@ -1,25 +0,0 @@ -#!ipxe - -# Parrot Security Linux -# https://www.parrotsec.org - -goto ${menu} - -:parrotsec -set os Parrot Security -menu ${os} Installers -item --gap Official Releases -item stable ${space} ${os} Stable Netinstall -choose parrotsec_version || goto parrotsec_exit -goto parrotsec_boot - -:parrotsec_boot -set parrotsec_initrd https://mirrordirector.archive.parrotsec.org/parrot/dists/${parrotsec_version}/main/installer-${arch_a}/current/images/netboot/mini.iso -kernel ${memdisk} iso raw -initrd ${parrotsec_initrd} -boot -goto parrotsec_exit - -:parrotsec_exit -clear menu -exit 0 diff --git a/src/rancheros.ipxe b/src/rancheros.ipxe deleted file mode 100644 index 312a845a..00000000 --- a/src/rancheros.ipxe +++ /dev/null @@ -1,28 +0,0 @@ -#!ipxe - -# RancherOS -# http://rancher.com/rancher-os/ - -:rancheros_menu -set url releases.rancher.com -menu RancherOS -item latest RancherOS Latest (20 MB) -choose version || goto rancheros_exit -goto ${version} - -:latest -echo ${cls} -set folder os/latest -goto boot - -:boot -echo Login in with username: rancher, password: rancher -echo To install: ros install -d /dev/sda1 -imgfree -kernel http://${url}/${folder}/vmlinuz rancher.state.autoformat=[/dev/sda] rancher.password=rancher initrd=initrd -initrd http://${url}/${folder}/initrd -boot - -:rancheros_exit -clear menu -exit 0 diff --git a/src/rhel.ipxe b/src/rhel.ipxe deleted file mode 100644 index 03acdca8..00000000 --- a/src/rhel.ipxe +++ /dev/null @@ -1,52 +0,0 @@ -#!ipxe - -# Redhat Enterprise Linux (RHEL) -# https://www.redhat.com - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}:::none nameserver=${dns} -set ipparam BOOTIF=${netX/mac} ${ipparam} - -set rhel_arch x86_64 -goto ${menu} || - -:rhel -set os Red Hat Enterprise Linux -clear rhel_version -menu ${os} -item --gap Installers -item rhel_install ${space} Load ${os} Installer... -item --gap Options: -item arch_set ${space} Architecture [ ${rhel_arch} ] -item url_set ${space} Base URL [ ${rhel_base_url} ] -choose rhel_version || goto rhel_exit -goto ${rhel_version} - -:arch_set -iseq ${rhel_arch} x86_64 && set rhel_arch i386 || set rhel_arch x86_64 -goto rhel - -:url_set -echo Set the HTTP URL of an extracted RHEL ISO without the trailing slash: -echo e.g. http://www.mydomain.com/rhel/7 -echo -echo -n URL: ${} && read rhel_base_url -echo -echo netboot.xyz will attempt to load the following files: -echo ${rhel_base_url}/os/${rhel_arch}/images/pxeboot/vmlinuz -echo ${rhel_base_url}/os/${rhel_arch}/images/pxeboot/initrd.img -echo -prompt Press any key to return to RHEL Menu... -goto rhel - -:rhel_install -isset ${rhel_base_url} && goto boot || echo URL not set... && goto url_set - -:boot -imgfree -kernel ${rhel_base_url}/os/${rhel_arch}/images/pxeboot/vmlinuz repo=${rhel_base_url}/os/${rhel_arch} ${console} ${ipparam} initrd=initrd.img -initrd ${rhel_base_url}/os/${rhel_arch}/images/pxeboot/initrd.img -md5sum vmlinuz initrd.img -boot - -:rhel_exit -exit 0 diff --git a/src/scientific.ipxe b/src/scientific.ipxe deleted file mode 100644 index e929e621..00000000 --- a/src/scientific.ipxe +++ /dev/null @@ -1,60 +0,0 @@ -#!ipxe - -# Scientific Linux Operating System -# https://www.scientificlinux.org/ - -isset ${dhcp-server} && set ipparam ip=dhcp || set ipparam ip=${ip}::${gateway}:${netmask}:::none nameserver=${dns} -set ipparam BOOTIF=${netX/mac} ${ipparam} - -goto ${menu} || - -:scientific -clear osversion -set os Scientific Linux -menu ${os} ${arch} -item 7.7 ${os} 7.7 -item 7.6 ${os} 7.6 -item 6.10 ${os} 6.10 -item 6.9 ${os} 6.9 -item other Choose other version [o] -isset ${osversion} || choose osversion || goto linux_menu -iseq ${osversion} other || goto scientific_skip_read_osversion -echo ${cls} -echo -n Enter version: ${} && read osversion -:scientific_skip_read_osversion -set dir linux/scientific/${osversion}/${arch}/os -set repo http://ftp1.scientificlinux.org/${dir} - -goto boottype - -:boottype -set ova ${os} ${osversion} -menu ${os} ${arch} boot type -item normal ${ova} -item rescue ${ova} rescue -item kickstart ${ova} specify kickstart url -isset ${bt} || choose bt || goto scientific -echo ${cls} -iseq ${bt} rescue && goto rescue || -iseq ${bt} kickstart && goto kickstart || -goto bootos_images - -:rescue -set params rescue || -goto bootos_images - -:kickstart -echo -n Specify kickstart URL for ${os} ${osversion}: && read ksurl -set params ks=${ksurl} || -goto bootos_images - -:bootos_images -imgfree -kernel http://ftp1.scientificlinux.org/${dir}/images/pxeboot/vmlinuz repo=${repo} ${params} ${console} ${ipparam} -initrd http://ftp1.scientificlinux.org/${dir}/images/pxeboot/initrd.img -boot -goto linux_menu - -:linux_menu -clear menu -exit 0 diff --git a/src/security.ipxe b/src/security.ipxe deleted file mode 100644 index 7263083a..00000000 --- a/src/security.ipxe +++ /dev/null @@ -1,27 +0,0 @@ -#!ipxe - -goto ${menu} || - -:security_menu -menu Security Distributions - Current Arch [ ${arch} ] -iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch} -item --gap Security Distributions -item blackarch ${space} BlackArch Linux -item kali ${space} Kali Linux -item parrotsec ${space} Parrot Security -choose menu || goto security_exit -echo ${cls} -goto ${menu} || -iseq ${sigs_enabled} true && goto verify_sigs || goto change_menu - -:verify_sigs -imgverify ${menu}.ipxe ${sigs}${menu}.ipxe.sig || goto error -goto change_menu - -:change_menu -chain ${menu}.ipxe || goto error -goto security_menu - -:security_exit -clear menu -exit 0 diff --git a/src/slackware.ipxe b/src/slackware.ipxe deleted file mode 100644 index 30cdbacf..00000000 --- a/src/slackware.ipxe +++ /dev/null @@ -1,31 +0,0 @@ -#!ipxe - -# Slackware Operating System -# http://www.slackware.com - -goto ${menu} - -:slackware -set os slackware -iseq ${arch} x86_64 && set sbits 64 || clear sbits - -menu ${os} -item current ${os} Current -item 14.2 ${os} 14.2 -item 14.1 ${os} 14.1 -item --key o other Choose other version [o] -choose version || exit 0 -iseq ${version} other || goto skip_read_version -echo ${cls} -echo -n Enter version: ${} && read version -:skip_read_version -set dir ${slackware_base_dir}/slackware${sbits}-${version} -goto boot - -:boot -imgfree -kernel http://${slackware_mirror}/${dir}/kernels/huge.s/bzImage -initrd http://${slackware_mirror}/${dir}/isolinux/initrd.img -imgargs bzImage load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=huge.s ${params} ${console} -isset ${debug} && prompt || -boot diff --git a/src/tinycore.ipxe b/src/tinycore.ipxe deleted file mode 100644 index c66b1c1c..00000000 --- a/src/tinycore.ipxe +++ /dev/null @@ -1,24 +0,0 @@ -#!ipxe - -# Tiny Core Linux -# http://tinycorelinux.net/downloads.html - -set tinycore_mirror tinycorelinux.net - -:tinycore_menu -set dir 10.x/x86/release -menu Tiny Core Linux 10.x -item Core ${space} Core [ISO] -item TinyCore ${space} TinyCore [ISO] -item CorePlus ${space} CorePlus [ISO] -choose version || goto tinycore_exit - -echo ${cls} - -kernel ${memdisk} iso raw ${params} -initrd http://${tinycore_mirror}/${dir}/${version}-current.iso -boot - -:tinycore_exit -clear menu -exit 0 diff --git a/src/ubuntu.ipxe b/src/ubuntu.ipxe deleted file mode 100644 index 9d4f42e9..00000000 --- a/src/ubuntu.ipxe +++ /dev/null @@ -1,85 +0,0 @@ -#!ipxe - -# Ubuntu Operating System -# https://www.ubuntu.com - -goto ${menu} - -:ubuntu -set os Ubuntu -clear ubuntu_version -menu ${os} - ${arch_a} - Image Sig Checks: [${img_sigs_enabled}] -item --gap Latest Releases -iseq ${arch_a} amd64 && item eoan ${space} ${os} 19.10 Eoan Ermine || -item disco ${space} ${os} 19.04 Disco Dingo -item bionic ${space} ${os} 18.04 LTS Bionic Beaver -item xenial ${space} ${os} 16.04 LTS Xenial Xerus -item --gap Older Releases -item older_release ${space} Set release codename... -choose ubuntu_version || goto ubuntu_exit -iseq ${ubuntu_version} older_release && goto older_release || -goto mirrorcfg - -:older_release -set older_release true -set ubuntu_mirror old-releases.ubuntu.com -echo Setting mirror to ${ubuntu_mirror} -clear ubuntu_version -echo -n Please set enter code name of release: ${} && read ubuntu_version -set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/images/netboot/ -goto deb_boot_type - -:mirrorcfg -set mirrorcfg mirror/suite=${ubuntu_version} -set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/images/netboot/ -iseq ${ubuntu_version} eoan && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}/main/installer-${arch_a}/current/images/netboot/ || - - -:deb_boot_type -menu ${os} [${ubuntu_version}] Installer -item --gap Install types -item install ${space} Install -item rescue ${space} Rescue Mode -item expert ${space} Expert Install -item preseed ${space} Specify preseed url... -choose --default ${type} type || goto ubuntu -echo ${cls} -goto deb_${type} - -:deb_rescue -set install_params rescue/enable=true -goto deb_boot - -:deb_expert -set install_params priority=low -goto deb_boot - -:deb_preseed -echo -n Specify preseed URL for ${os} ${ubuntu_version}: && read preseedurl -set install_params auto=true priority=critical preseed/url=${preseedurl} -goto deb_boot - -:deb_install -:deb_boot -set dir ${dir}${menu}-installer/${arch_a} -imgfree -kernel http://${ubuntu_mirror}/${dir}/linux ${install_params} ${mirrorcfg} ${console} -- quiet ${params} initrd=initrd.gz -initrd http://${ubuntu_mirror}/${dir}/initrd.gz -echo -echo MD5sums: -md5sum linux initrd.gz -iseq ${img_sigs_enabled} true && iseq ${older_release} true && goto skip_sigs || -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify linux ${sigs}${dir}/linux.sig || goto error -imgverify initrd.gz ${sigs}${dir}/initrd.gz.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot - -:ubuntu_exit -clear menu -exit 0 diff --git a/src/utils-arm.ipxe b/src/utils-arm.ipxe deleted file mode 100644 index 2a4650d7..00000000 --- a/src/utils-arm.ipxe +++ /dev/null @@ -1,40 +0,0 @@ -#!ipxe - -menu Utilities - Image Sig Checks: [${img_sigs_enabled}] -item --gap Utilities: -item nbxyz-custom ${space} Set Github username [user: ${github_user}] -item testpr ${space} Test forked netboot.xyz branch or hash -choose --default ${menu} menu || goto utils_exit -echo ${cls} -goto ${menu} || -chain ${menu}.ipxe || goto utils_exit -goto utils_exit - -:nbxyz-custom -echo EXPERIMENTAL -echo -echo Make sure you have a fork of https://github.com/antonym/netboot.xyz-custom. -echo You can then customize your fork as needed and set up your own custom options. -echo Once your username is set, a custom option will appear on the main menu. -echo -echo -n Please enter your Github username: ${} && read github_user -goto utils_exit - -:testpr -clear github_user -clear github_branch_or_hash -echo This will chainload into a testing branch of netboot.xyz. You'll need to enter -echo your Github username and the first part of the commit hash of the commit you want -echo to test or the branch name. This assumes you are testing from a forked netboot.xyz -echo repo. -echo -echo -n Specify Github username: ${} && read github_user -echo -n Specify Github branch name or commit hash ( i.e. my_feature or 30b7ca ): ${} && read github_branch_or_hash -echo -echo Attempting to chainload branch or hash: -chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_branch_or_hash}/src/menu.ipxe || echo Unable to find Github branch or hash... && sleep 5 && goto utils_exit -goto utils_exit - -:utils_exit -clear menu -exit 0 diff --git a/src/utils.ipxe b/src/utils.ipxe deleted file mode 100644 index 66c50753..00000000 --- a/src/utils.ipxe +++ /dev/null @@ -1,163 +0,0 @@ -#!ipxe - -menu Utilities - Image Sig Checks: [${img_sigs_enabled}] -item --gap Utilities: -item alt_linux_rescue ${space} ALT Linux Rescue -item avg ${space} AVG Rescue CD -item breakin ${space} Breakin -item clonezilla ${space} Clonezilla -item dban ${space} DBAN -item gparted ${space} GParted -item memtest-501 ${space} Memtest86+ 5.01 -item supergrub ${space} Super Grub2 Disk -item sysrcd ${space} SystemRescueCD -item ubcd ${space} Ultimate Boot CD (UBCD) -item --gap netboot.xyz tools: -item nbxyz-custom ${space} Set Github username [user: ${github_user}] -item testdistro ${space} Test Distribution ISO -item testpr ${space} Test forked netboot.xyz branch or hash -choose --default ${menu} menu || goto utils_exit -echo ${cls} -goto ${menu} || -chain ${menu}.ipxe || goto utils_exit -goto utils_exit - -:alt_linux_rescue -iseq ${arch} x86_64 && goto alt_linux_rescue_x64 || -set util_path nightly.altlinux.org/p8/release/alt-p8-rescue-20180312-i586.iso -set util_file alt-p8-rescue-20180312-i586.iso -goto boot_memdisk - -:alt_linux_rescue_x64 -set util_path nightly.altlinux.org/p8/release/alt-p8-rescue-20180312-x86_64.iso -set util_file alt-p8-rescue-20180312-x86_64.iso -goto boot_memdisk - -:avg -set avg_version 160420a12074 -set util_path download.avg.com/filedir/inst/avg_arl_cdi_all_120_${avg_version}.iso -set util_file avg_arl_cdi_all_120_${avg_version}.iso -goto boot_memdisk - -:breakin -set breakin_version 4.26.1-53 -set util_path www.advancedclustering.com/wp-content/uploads/2017/02/bootimage-${breakin_version}.iso -set util_file bootimage-${breakin_version}.iso -goto boot_memdisk - -:clonezilla -set clonezilla_version 2.6.2-15 -set util_path master.dl.sourceforge.net/project/clonezilla/clonezilla_live_stable/${clonezilla_version}/clonezilla-live-${clonezilla_version}-amd64.iso -set util_file clonezilla-live-${clonezilla_version}-amd64.iso -goto boot_memdisk - -:dban -set dban_version 2.3.0 -set util_path master.dl.sourceforge.net/project/dban/dban/dban-${dban_version}/dban-${dban_version}_i586.iso -set util_file dban-${dban_version}_i586.iso -goto boot_memdisk - -:gparted -set gparted_version 1.0.0-3 -set util_path master.dl.sourceforge.net/project/gparted/gparted-live-stable/${gparted_version}/gparted-live-${gparted_version}-amd64.iso -set util_file gparted-live-${gparted_version}-amd64.iso -goto boot_memdisk - -:memtest-501 -set util_path boot.netboot.xyz/utils/memtest86-5.01.0 -set util_file memtest86-5.01.0 -goto boot_memtest - -:supergrub -set supergrub_version 2.04s1 -set util_path master.dl.sourceforge.net/project/supergrub2/${supergrub_version}/super_grub2_disk_${supergrub_version}/super_grub2_disk_hybrid_${supergrub_version}.iso -set util_file super_grub2_disk_hybrid_${supergrub_version}.iso -goto boot_memdisk - -:sysrcd -set sysrcdpath master.dl.sourceforge.net/project/netboot-xyz/distros/sysresccd-x86/4.8.1 -kernel --name altker64 https://${sysrcdpath}/altker64 setkmap=no net.ifnames=0 backstore=off -initrd --name initram.igz https://${sysrcdpath}/initram.igz -initrd --name sysrcd.dat https://${sysrcdpath}/sysrcd.dat /sysrcd.dat -echo -echo MD5sums: -md5sum altker64 initram.igz sysrcd.dat -iseq ${img_sigs_enabled} true && goto verify_sigs_sysrcd || goto skip_sigs_sysrcd -:verify_sigs_sysrcd -echo -echo Checking signatures... -imgverify altker64 ${sigs}${menu}/altker64.sig || goto error -imgverify initram.igz ${sigs}${menu}/initram.igz.sig || goto error -imgverify sysrcd.dat ${sigs}${menu}/sysrcd.dat.sig || goto error -echo Signatures verified! -echo -:skip_sigs_sysrcd -boot -goto utils_exit - -:ubcd -set util_path mirror.sysadminguide.net/ubcd/ubcd538.iso -set util_file ubcd538.iso -goto boot_memdisk - -:boot_memdisk -imgfree -kernel ${memdisk} iso raw -initrd --name ${util_file} http://${util_path} -echo -echo MD5sums: -md5sum memdisk ${util_file} -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking signatures... -imgverify memdisk ${sigs}memdisk.sig || goto error -imgverify ${util_file} ${sigs}${menu}/${util_file}.sig || goto error -echo Signatures verified! -echo -:skip_sigs -boot -goto utils_exit - -:boot_memtest -chain https://${util_path} && goto main_menu || -goto utils_exit - -:nbxyz-custom -echo EXPERIMENTAL -echo -echo Make sure you have a fork of https://github.com/antonym/netboot.xyz-custom. -echo You can then customize your fork as needed and set up your own custom options. -echo Once your username is set, a custom option will appear on the main menu. -echo -echo -n Please enter your Github username: ${} && read github_user -goto utils_exit - -:testdistro -echo This option will allow you to test booting an ISO using memdisk. Please -echo specify the URL of the ISO you want to test and it will automatically -echo attempt to load the ISO using memdisk. -echo -n URL: ${} && read distro_iso -kernel ${memdisk} iso raw -initrd ${distro_iso} -boot -goto utils_exit - -:testpr -clear github_user -clear github_branch_or_hash -echo This will chainload into a testing branch of netboot.xyz. You'll need to enter -echo your Github username and the first part of the commit hash of the commit you want -echo to test or the branch name. This assumes you are testing from a forked netboot.xyz -echo repo. -echo -echo -n Specify Github username: ${} && read github_user -echo -n Specify Github branch name or commit hash ( i.e. my_feature or 30b7ca ): ${} && read github_branch_or_hash -echo -echo Attempting to chainload branch or hash: -chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_branch_or_hash}/src/menu.ipxe || echo Unable to find Github branch or hash... && sleep 5 && goto utils_exit -goto utils_exit - -:utils_exit -clear menu -exit 0 diff --git a/src/wimboot b/src/wimboot deleted file mode 100755 index 3c64c7cc..00000000 Binary files a/src/wimboot and /dev/null differ diff --git a/src/windows.ipxe b/src/windows.ipxe deleted file mode 100644 index d97145ed..00000000 --- a/src/windows.ipxe +++ /dev/null @@ -1,59 +0,0 @@ -#!ipxe - -# Microsoft Windows -# https://www.microsoft.com - -set win_arch x64 -goto ${menu} || - -:windows -set os Microsoft Windows -clear win_version -menu ${os} -item --gap Installers -item win_install ${space} Load ${os} Installer... -item --gap Options: -item arch_set ${space} Architecture [ ${win_arch} ] -item url_set ${space} Base URL [ ${win_base_url} ] -choose win_version || goto windows_exit -goto ${win_version} - -:arch_set -iseq ${win_arch} x64 && set win_arch x86 || set win_arch x64 -goto windows - -:url_set -echo Set the HTTP URL of an extracted Windows ISO without the trailing slash: -echo e.g. http://www.mydomain.com/windows -echo -echo -n URL: ${} && read win_base_url -echo -echo netboot.xyz will attempt to load the following files: -echo ${win_base_url}/${win_arch}/bootmgr -echo ${win_base_url}/${win_arch}/boot/bcd -echo ${win_base_url}/${win_arch}/boot/boot.sdi -echo ${win_base_url}/${win_arch}/sources/boot.wim -echo -prompt Press any key to return to Windows Menu... -goto windows - -:win_install -isset ${win_base_url} && goto boot || echo URL not set... && goto url_set - -:boot -kernel http://${boot_domain}/wimboot -initrd ${win_base_url}/${win_arch}/bootmgr bootmgr -initrd ${win_base_url}/${win_arch}/boot/bcd bcd -initrd ${win_base_url}/${win_arch}/boot/boot.sdi boot.sdi -initrd ${win_base_url}/${win_arch}/sources/boot.wim boot.wim -md5sum wimboot -iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs -:verify_sigs -echo -echo Checking wimboot signature... -imgverify wimboot ${sigs}wimboot.sig || goto error -:skip_sigs -boot - -:windows_exit -exit 0