Netboot Raspberry Pi Part IV: Using Packer and Ansible to create a Raspberry Pi Ubuntu Netboot Image

This is the fourth part of the Pi netboot series. Find the previous parts from the introductory article here. In this part of the series, I will go over using a combination of HashiCorp Packer and Ansible to create an Ubuntu Linux image for a netbootable Raspberry Pi, using NFS for the boot partition and a Ceph RBD as the root device. The goal here is to show you how to set up Packer and what configuration is needed to run an Ansible playbook in an aarch64 image on a x86_64 machine....

September 24, 2022 · 12 min · Michael

Netboot Raspberry Pi Part III: Telling Linux Where to Boot From

This is the third part of my Pi netboot series. You can find an overview and links to the other parts in the Pi netboot series overview article. This, to me, is the most interesting article of the entire netboot Pi series. When I started with setting up netbooting, I had no idea how it would work. I had a vague idea that there was a kernel command line parameter, but no idea where it was interpreted....

August 18, 2022 · 14 min · Michael

Netboot Raspberry Pi Part II: The Netboot Server

In this article, I will provide an overview of how netbooting with the Raspberry Pi 4 works and how to configure a server off of which you can boot your Pi. Several components are needed for netbooting a Pi: The Pi itself needs to have netbooting in its boot order config A DHCP server is needed to provide IPs for the Pi and the TFTP server. In this series, the IP for the Pi will be provided by my OPNsense firewall and the netboot options will be provided by DNSmasq....

August 2, 2022 · 10 min · Michael

Netboot Raspberry Pi 4 Part I: Introduction

In this multipart series, I will be detailing how I set up a Raspberry Pi 4 to netboot, with no local SD card/eMMC/other storage required. The setup will use Ceph to provide both, NFS storage for the /boot partition, and an RBD volume for the root disk. For the PXE netboot itself, DNSmasq will be used. Part II: The Netboot Server Part III: Telling Linux Where to Boot From Part IV: Using Packer and Ansible to create a Raspberry Pi Ubuntu Netboot Image Part V: Ansible Playook Part VI: Conclusion Why though?...

July 25, 2022 · 4 min · Michael