![](/static/61a827a1/assets/icons/icon-96x96.png)
1·
1 year agoFor your case, you might want to switch to overlay rootfs and mount /boot as read-only, your sd card won’t get changed at all.
For your case, you might want to switch to overlay rootfs and mount /boot as read-only, your sd card won’t get changed at all.
Configure your raspberry pi os properly, then use raspi-config to switch to overlay root filesystem. You can switch back (using raspi-config) if you want to make changes to your os.
See https://learn.adafruit.com/read-only-raspberry-pi/overview