How ventoy/pxe works
This tree is iPXE, the network-boot component identified by the README as part of iVentoy—not Ventoy itself. Its principal workflow starts in the iPXE entry point, proceeds through boot orchestration and network boot services, and hands a selected image to a format-specific loader. The tree also contains hardware drivers, GRUB filesystem support, and decompression libraries. Some subsystem links are documented only at a high level; those are dashed and uncited rather than inferred as direct calls.
Main entry points: autoboot.c Autoboot · image Boot image formats · fs GRUB filesystems · main.c iPXE entry
Components 16
Boot workflow
- iPXE entry
iPXE/ipxe-bd13697/src/core/main.c - Autoboot
iPXE/ipxe-bd13697/src/usr/autoboot.c
Network boot
- DHCP client
iPXE/ipxe-bd13697/src/net/udp/dhcp.c - Image download
iPXE/ipxe-bd13697/src/core/downloader.c - PXE services
iPXE/ipxe-bd13697/src/arch/x86/interface/pxe/pxe_loader.c
Images and filesystems
- Image commands
iPXE/ipxe-bd13697/src/hci/commands/image_cmd.c - Boot image formats
iPXE/ipxe-bd13697/src/arch/x86/image - GRUB filesystems
iPXE/ipxe-bd13697/src/core/grub/fs - Zstandard decoder
iPXE/ipxe-bd13697/src/core/grub/lib/zstd/zstd_decompress.c - LZO decoder
iPXE/ipxe-bd13697/src/core/grub/lib/minilzo/minilzo.c
Platform support
- xHCI USB driver
iPXE/ipxe-bd13697/src/drivers/usb/xhci.c - Phantom NIC driver
iPXE/ipxe-bd13697/src/drivers/net/phantom/phantom.c - Xen guest interface
iPXE/ipxe-bd13697/src/include/xen/xen.h
Other components
- PXE environment
- Network boot server
- Booted OS
Connections 11
- PXE environment → iPXE entry: starts
- iPXE entry → Autoboot: calls
iPXE/ipxe-bd13697/src/core/main.c - Autoboot → DHCP client: uses
- Autoboot → Image download: fetches
- Network boot server → DHCP client: serves boot config
- Network boot server → Image download: serves images
- Autoboot → Boot image formats: boots image
- Image commands → Boot image formats: loads formats
- Boot image formats → Booted OS: transfers control
- GRUB filesystems → Zstandard decoder: uses decoder
- GRUB filesystems → LZO decoder: uses decoder