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? So why would you want a diskless Pi? First of all, the standard option for Raspberry Pi storage is either an SD card or, for Pi CM4 modules, eMMC storage. Both have the same downsides: Their performance is relatively slow, and they are not very durable, wearing out relatively quickly under any but the lightest write loads. ...

July 25, 2022 · 4 min · Michael