Netboot Raspberry Pi Part VI: Conclusion

Finally, the Netboot Raspberry Pi series concludes with this post. I will be going over both, what figuring out the actual netboot and blogging about it was like. If you’ve followed this series, I’m hoping that you’ve learned a lot more than “just” how to produce an image that can netboot a Raspberry Pi 4. For me, the information on the side, like how the initramfs works in the Linux boot process, was more interesting than then netboot itself....

September 25, 2022 · 4 min · Michael

Netboot Raspberry Pi Part V: Ansible Playbook

This is the fifth part of my Raspberry Pi netboot series. The introduction with an overview and links to previous articles can be found here. In this post, we will go over the Ansible playbook I use to provision my Pis. This playbook’s intention is not to fully provision the Pi for use, e.g. it will not set up Nomad or Ceph. It will only prepare the image to netboot and set up my normal Ansible user for my main provisioning Ansible playbooks, to be executed after first boot....

September 25, 2022 · 15 min · Michael

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