From The World according to Vissie
Jump to navigation Jump to search

To upgrade from Pi 2 to Pi 3 I will try:

apt-get update && sudo apt-get dist-upgrade

Lets do the same with the firmware:

apt-get install rpi-update

To backup my SD card:

dd if=/dev/sdx | gzip > /path/to/image.gz

Where sdx is your SD card.

To restore the backup, you reverse the commands:

dd if=/path/to/image of=/dev/sdx