Skip to content

Instantly share code, notes, and snippets.

@ianmacs
ianmacs / rpi4.boot-from-sd-rootfs-on-usb.md
Last active January 1, 2022 17:24 — forked from lucabelluccini/rpi4.boot-from-sd-rootfs-on-usb.md
Raspberry Pi 4 - Boot from SD, Rootfs on USB

Raspberry 4B - Boot from SD and rootfs on USB

  1. Download Raspbian from the official site

  2. Flash it to the USB drive following the procedure detailed here

  3. Fomat an SD Card 2/4 GB as FAT32, label "boot", flag "lba". Generate a UUID. You can use GParted for this task.

  4. Get the UUID of the USB drive and the SD Card partitions using sudo blkid.

@ianmacs
ianmacs / flow.json
Created August 13, 2019 17:15
Bug in RBE node?
[{"id":"480ae6de.258fb","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"5f7764b8.b5ffb4","type":"inject","z":"480ae6de.258fb","name":"","topic":"","payload":"0.5","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":80,"wires":[["b852b54b.f343c8"]]},{"id":"b3b69bb1.4fa6","type":"inject","z":"480ae6de.258fb","name":"","topic":"","payload":"2.5","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":91.08332824707031,"y":139.41665649414062,"wires":[["b852b54b.f343c8"]]},{"id":"dc7c3ce7.aeed48","type":"debug","z":"480ae6de.258fb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":430,"y":180,"wires":[]},{"id":"b852b54b.f343c8","type":"rbe","z":"480ae6de.258fb","name":"Block if value change > 0.0000000000000000000000001","func":"narrowband","gap":"0.0000000000000000000000001","start":"2.5","inout":"in","property":"payload","x":407.00001525878906,"y":111.83334350585938,"wires":[["dc7c3ce7.aeed48"]]