

For convenience, I will suppose a previously verified ISO (take a look at our article about checking the integrity and the signature of a distribution image with gpg if you want to know how to verify the integrity and signature of a distribution image) to be available on the Rpi filesystem in the /mnt/data/isos directory. In this tutorial, just as an example, we will work with a Debian netinstall image. Let’s call it boot: $ mkdir /mnt/data/netboot/boot usr/lib/SYSLINUX.EFI/efi64/syslinux.efi \Īt this point we need to create the directory that will host the distributions we want to make available in our boot menu. We want to be able to support the boot of clients in BIOS and EFI mode, therefore the first thing we need to do is to create two directories named after those architectures inside /mnt/data/netboot: $ mkdir /mnt/data/netboot/.c32 \ For the sake of this tutorial, the root of the whole setup will be the /mnt/data/netboot directory, which will be also used as the tftp root (defined inside the dnsmasq configuration file) all the needed files will be stored inside it. Once the needed packages are installed, we can proceed and setup the file structure. To install the packages on the Raspberry Pi OS, we can run: $ sudo apt-get update & sudo apt-get install dnsmasq pxelinux syslinux-efi The first thing we must do is to install some essential packages:ĭnsmasq provides both the DHCP and the tftp services pxelinux is a bootloader member of the syslinux family, and is specifically designed for the PXE environment the syslinux-efi_ package contains libraries needed to support EFI clients. $ – requires given linux-commands to be executed as a regular non-privileged user # – requires given linux-commands to be executed with root privileges either directly as a root user or by use of sudo command Raspberry Pi OS (previously known as Raspbian) Requirements, Conventions or Software Version Used Raspberry Pi as a PXE boot server Software requirements and conventions used Software Requirements and Linux Command Line Conventions Category
