Copy SD-Card with all partitions

To copy a SD-Card to another one including all partitions yo can take the following steps: Find out the device name (f.e.: /dev/mmcblk0): see List, partitioning and format drives or see Get a list of partitions or see Get free disk space and partitions Copy the whole card to an imagefile (Backup): $> sudo dd if=/dev/mmcblk0 of=backup_pi.img bs=4M […]

Copy system image to SD-Card

To get a bootable SD-Card from an image file (*.img) you can run teh dd command like tahe $> sudo dd if=/home/bravehartk2/Dropbox/Elektrotechnik/Banana/Raspbian_For_BananaPi_v3_0.img of=/dev/mmcblk0 bs=1M && sync This creates the necessary boot bartition and system partition on device  /dev/mmcblk0. To get a list of your mounted partitions look here.