Flash OS images to SD cards & USB drives & TF cards safely and easily using etcher
install tools:
wget https://github.com/resin-io/etcher/releases/download/v1.4.5/etcher-cli-1.4.5-linux-x64.tar.gz
tar zvxf etcher-cli-1.4.5-linux-x64.tar.gz
cd etcher-cli-1.4.5-linux-x64-dist/
burn img to device :
example, burn rootfs.img to tf card (sdd)
./etcher -d /dev/sdd ../fdimage.img