diff --git a/USAGE_GUIDE.md b/USAGE_GUIDE.md index 3c21103..176de2b 100644 --- a/USAGE_GUIDE.md +++ b/USAGE_GUIDE.md @@ -35,6 +35,18 @@ sudo ./flash_sdcard.sh 3. Follow the prompts to select your SD card device +### Flashing an Image from a Remote SSH Host + +If your SD card image was created on a remote host (e.g., 192.168.50.3), you can copy it to your local machine and then flash it to your SD card. For example, if the image is located at `/home/user/output.img` on the remote host: + +You can do this in a single command (replace `user`, the image path, and `/dev/mmcblk0` as needed): + +```bash +ssh user@192.168.50.3 "cat /mnt/nvme/repos/buildroot/output/images/sdcard.img" | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync oflag=direct +``` + +**WARNING:** Double-check the device path (`/dev/mmcblk0`) to avoid overwriting the wrong disk! + ## Initial Boot 1. Insert the SD card into your Raspberry Pi 3