Skip to content

About

便宜,快速,品质尚可

Resources

Stars

42 stars

Watchers

2 watching

Forks

Repository files navigation

simple-pxe: A simple GRUB netboot menu generator

Copy config.local.example to config.local. Serve PXE_LOCAL_ROOT at PXE_HTTP_ROOT and use an address reachable from the boot clients. The live systems download their compressed root filesystem or ISO into client RAM. For GParted and Clonezilla, use an IPv4 address in the URL for compatibility with early boot environments that lack DNS.

Prepare files (network needed):

./simple-pxe prepare

Prepare scripts run with set -e -o pipefail. To trace their commands, run DEBUG=1 ./simple-pxe prepare or set DEBUG=1 in config.local. The same switch works with simple-pxe-in-docker.

Ubuntu Live (20.04 and later) needs jq during preparation. For each release and variant, prepare downloads the latest ISO in the mirror's catalog and stores it with its matching kernel and initrd under http/. Run prepare before regenerating an existing menu. Older extracted Ubuntu trees need a matching ISO to boot over HTTP. Existing Arch Linux, GParted and Clonezilla trees can be reused.

Fedora preparation uses jq to read the official release catalog. It downloads stable x86-64 Workstation ISOs from FEDORA_MIRROR and checks their SHA-256 digests before extraction.

For the Proxmox VE interactive installer, include proxmox in both PXE_PREPARE and PXE_MENUS. Preparation downloads the latest stable x86-64 VE ISO from PROXMOX_ISO_MIRROR and verifies it against the official checksums. Boot the client in x86-64 UEFI mode. GRUB loads the entire ISO into RAM as /proxmox.iso for the terminal installer. Legacy BIOS GRUB's initrd size limit is too small for the image.

Update menu (no network needed):

./simple-pxe menu

About

便宜,快速,品质尚可

Resources

Stars

42 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages