Переглянути джерело

Remove static content and deploy scripts

Antony Messerli 5 роки тому
батько
коміт
62ad2ec3ea
67 змінених файлів з 0 додано та 3179 видалено
  1. 0 67
      ipxe/disks/netboot.xyz
  2. 0 68
      ipxe/disks/netboot.xyz-gce
  3. 0 69
      ipxe/disks/netboot.xyz-packet
  4. 0 28
      ipxe/local/colour.h
  5. 0 1
      ipxe/local/crypto.h
  6. 0 11
      ipxe/local/general.h
  7. 0 10
      ipxe/local/general.h.efi
  8. 0 4
      ipxe/local/nap.h.efi
  9. 0 2
      ipxe/local/usb.h.efi
  10. 0 131
      script/prep-release.sh
  11. BIN
      script/secrets.tar.enc
  12. 0 46
      src/alpinelinux.ipxe
  13. 0 54
      src/archlinux.ipxe
  14. 0 25
      src/blackarch.ipxe
  15. 0 147
      src/boot.cfg
  16. 0 40
      src/bsd.ipxe
  17. 0 83
      src/centos.ipxe
  18. 0 45
      src/coreos.ipxe
  19. 0 97
      src/debian.ipxe
  20. 0 83
      src/devuan.ipxe
  21. 0 83
      src/fedora.ipxe
  22. 0 46
      src/flatcar.ipxe
  23. 0 52
      src/freebsd.ipxe
  24. 0 23
      src/freedos.ipxe
  25. 0 30
      src/gentoo.ipxe
  26. 0 7
      src/index.html
  27. 0 39
      src/ipfire.ipxe
  28. 0 38
      src/kali.ipxe
  29. 0 37
      src/linux-arm.ipxe
  30. 0 44
      src/linux.ipxe
  31. 0 28
      src/live-backbox.ipxe
  32. 0 76
      src/live-debian.ipxe
  33. 0 27
      src/live-elementary.ipxe
  34. 0 69
      src/live-fedora.ipxe
  35. 0 64
      src/live-kali.ipxe
  36. 0 52
      src/live-manjaro.ipxe
  37. 0 49
      src/live-mint.ipxe
  38. 0 28
      src/live-peppermint.ipxe
  39. 0 39
      src/live-popos.ipxe
  40. 0 44
      src/live-q4os.ipxe
  41. 0 27
      src/live-tails.ipxe
  42. 0 114
      src/live-ubuntu.ipxe
  43. 0 41
      src/live-voyager.ipxe
  44. 0 44
      src/live-zorin.ipxe
  45. 0 37
      src/live.ipxe
  46. 0 51
      src/livegrml.ipxe
  47. 0 43
      src/mageia.ipxe
  48. BIN
      src/memdisk
  49. 0 106
      src/menu.ipxe
  50. 0 22
      src/mirbsd.ipxe
  51. 0 21
      src/netinfo.ipxe
  52. 0 45
      src/news.ipxe
  53. 0 21
      src/nixos.ipxe
  54. 0 37
      src/openbsd.ipxe
  55. 0 90
      src/opensuse.ipxe
  56. 0 25
      src/parrotsec.ipxe
  57. 0 28
      src/rancheros.ipxe
  58. 0 52
      src/rhel.ipxe
  59. 0 60
      src/scientific.ipxe
  60. 0 27
      src/security.ipxe
  61. 0 31
      src/slackware.ipxe
  62. 0 24
      src/tinycore.ipxe
  63. 0 85
      src/ubuntu.ipxe
  64. 0 40
      src/utils-arm.ipxe
  65. 0 163
      src/utils.ipxe
  66. BIN
      src/wimboot
  67. 0 59
      src/windows.ipxe

+ 0 - 67
ipxe/disks/netboot.xyz

@@ -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

+ 0 - 68
ipxe/disks/netboot.xyz-gce

@@ -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

+ 0 - 69
ipxe/disks/netboot.xyz-packet

@@ -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

+ 0 - 28
ipxe/local/colour.h

@@ -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

+ 0 - 1
ipxe/local/crypto.h

@@ -1 +0,0 @@
-#undef OCSP_CHECK

+ 0 - 11
ipxe/local/general.h

@@ -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 */

+ 0 - 10
ipxe/local/general.h.efi

@@ -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 */

+ 0 - 4
ipxe/local/nap.h.efi

@@ -1,4 +0,0 @@
-/* nap.h */
-#undef NAP_EFIX86
-#undef NAP_EFIARM
-#define NAP_NULL

+ 0 - 2
ipxe/local/usb.h.efi

@@ -1,2 +0,0 @@
-/* usb.h */
-#define	USB_EFI	

+ 0 - 131
script/prep-release.sh

@@ -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 <<EOF
-# netboot.xyz bootloaders generated at $CURRENT_TIME
-# iPXE Commit: https://github.com/ipxe/ipxe/commit/$IPXE_HASH
-# Travis-CI Job: https://travis-ci.org/antonym/netboot.xyz/builds/$TRAVIS_BUILD_ID
-
-EOF
-
-# generate sha256sums for iPXE disks
-cd ipxe/
-for ipxe_disk in `ls .`
-do
-  sha256sum -b $ipxe_disk >> ../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/

BIN
script/secrets.tar.enc


+ 0 - 46
src/alpinelinux.ipxe

@@ -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

+ 0 - 54
src/archlinux.ipxe

@@ -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

+ 0 - 25
src/blackarch.ipxe

@@ -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

+ 0 - 147
src/boot.cfg

@@ -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

+ 0 - 40
src/bsd.ipxe

@@ -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

+ 0 - 83
src/centos.ipxe

@@ -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

+ 0 - 45
src/coreos.ipxe

@@ -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

+ 0 - 97
src/debian.ipxe

@@ -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

+ 0 - 83
src/devuan.ipxe

@@ -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

+ 0 - 83
src/fedora.ipxe

@@ -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

+ 0 - 46
src/flatcar.ipxe

@@ -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

+ 0 - 52
src/freebsd.ipxe

@@ -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 <public ip> netmask 255.255.255.0
-echo route delete default; route add default <public ip x.x.x.1>
-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

+ 0 - 23
src/freedos.ipxe

@@ -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

+ 0 - 30
src/gentoo.ipxe

@@ -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

+ 0 - 7
src/index.html

@@ -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...

+ 0 - 39
src/ipfire.ipxe

@@ -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

+ 0 - 38
src/kali.ipxe

@@ -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

+ 0 - 37
src/linux-arm.ipxe

@@ -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

+ 0 - 44
src/linux.ipxe

@@ -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

+ 0 - 28
src/live-backbox.ipxe

@@ -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
-

+ 0 - 76
src/live-debian.ipxe

@@ -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

+ 0 - 27
src/live-elementary.ipxe

@@ -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

+ 0 - 69
src/live-fedora.ipxe

@@ -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
-

+ 0 - 64
src/live-kali.ipxe

@@ -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
-

+ 0 - 52
src/live-manjaro.ipxe

@@ -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
-

+ 0 - 49
src/live-mint.ipxe

@@ -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
-

+ 0 - 28
src/live-peppermint.ipxe

@@ -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
-

+ 0 - 39
src/live-popos.ipxe

@@ -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
-

+ 0 - 44
src/live-q4os.ipxe

@@ -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
-

+ 0 - 27
src/live-tails.ipxe

@@ -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

+ 0 - 114
src/live-ubuntu.ipxe

@@ -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
-

+ 0 - 41
src/live-voyager.ipxe

@@ -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

+ 0 - 44
src/live-zorin.ipxe

@@ -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
-

+ 0 - 37
src/live.ipxe

@@ -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

+ 0 - 51
src/livegrml.ipxe

@@ -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

+ 0 - 43
src/mageia.ipxe

@@ -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


+ 0 - 106
src/menu.ipxe

@@ -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

+ 0 - 22
src/mirbsd.ipxe

@@ -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

+ 0 - 21
src/netinfo.ipxe

@@ -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

+ 0 - 45
src/news.ipxe

@@ -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

+ 0 - 21
src/nixos.ipxe

@@ -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

+ 0 - 37
src/openbsd.ipxe

@@ -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

+ 0 - 90
src/opensuse.ipxe

@@ -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

+ 0 - 25
src/parrotsec.ipxe

@@ -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

+ 0 - 28
src/rancheros.ipxe

@@ -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

+ 0 - 52
src/rhel.ipxe

@@ -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

+ 0 - 60
src/scientific.ipxe

@@ -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

+ 0 - 27
src/security.ipxe

@@ -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

+ 0 - 31
src/slackware.ipxe

@@ -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

+ 0 - 24
src/tinycore.ipxe

@@ -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

+ 0 - 85
src/ubuntu.ipxe

@@ -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

+ 0 - 40
src/utils-arm.ipxe

@@ -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

+ 0 - 163
src/utils.ipxe

@@ -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


+ 0 - 59
src/windows.ipxe

@@ -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