You can easily run your nymea raspberry off a USB drive rather than SD card. Why? Well, for one, once in a touch screen case you cant get to the SD, and 2, sd cards are just a PITA! USB drives are much easier to deal with.
Docs are here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md
But, if you use a raspberry PI 3B+ like i do, its VERY easy, thanks to this URL: https://pimylifeup.com/raspberry-pi-boot-from-usb/
Do the following:
- echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
-
sudo reboot
When it comes back up run this command: vcgencmd otp_dump | grep 17:
You should see this:
17:3020000a
So just do step 3 now, it will remove the line you added in step 1, and your raspberry is configured to boot both via sd OR USB.
- sudo sed -i âs/program_usb_boot_mode=1//gâ /boot/config.txt
So do a shutdown, make a image of the SD on your computer then image that to a USB. Put the USB in the raspberry and it will bootâŠthats it.
âJohn