Flashing Drives


Create a compressed image file with a working image file
dd if=/dev/sdb | gzip > backup.img.gz
Flash a drive with compressed image file
cat backup.img.gz | gunzip | dd of=/dev/sdb

ROBOTICS VERSION:

For flashing a sd card to the roborio

gunzip -c /mnt/mydrive/img.gz > /dev/sda