Raspberry PI

Prepare an SD card

https://www.raspberrypi.org/documentation/installation/installing-images/linux.md

- Run df -h to see what devices are currently mounted

- Unmount the partitions on the SD card umount /dev/sdc1 umount more if there are more partitions

- Write the image to the SD card using dd

sudo dd bs=4M if=nameofimagefiletobeflashed.img of=/dev/sdc