Skip to content

TobiX/pxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tftproot for PXE

This is a simple setup for a PXE environment on a Debian 10 (buster) system.

This repository uses a Git submodule to include localboot.lua, so you should probably use

git clone --recursive https://github.com/TobiX/pxe.git

or update the submodules after the clone:

git submodule init
git submodule update

Most tools are just symlinked into the matching Debian packages, so you should install at least

syslinux-common syslinux-efi pxelinux

MultiArch support

Since 2021-05, this repository uses a bunch of symlinks to support BIOS and EFI64 boot from the same config. While this seems to work for some options, the EFI code path is much less tested then the BIOS code path. (there are probably some options which flat-out don't work in EFI mode)

Debian Installer

To use the Debian installer entry, install di-netboot-assistant, configure it to your liking and run

di-netboot-assistant --arch=amd64 install stable stable-gtk

(or similar).

grml

Grab the files vmlinuz and initrd.img from the grml ISO (they are somewhere in boot/grml64*/) and put them into the grml directory. Put the GRML SquashFS (In live/grml64*/*.squashfs on the ISO) on a webserver and adjust the URL in default.cfg.

Using with dnsmasq

This is probably the minimal setup to use this setup with dnsmasq (assuming this isn't the "main" DHCP server):

dhcp-range=192.168.1.0,proxy
pxe-service=x86PC,"pxelinux BIOS",bios/pxelinux
pxe-service=x86-64_EFI,"syslinux EFI64",efi64/syslinux.efi
enable-tftp
tftp-root=/srv/tftp

# Disable DNS (if you are using a different server for DNS)
port=0

About

tftproot for PXE boot menu

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published