Here will be described some basic steps with raspberry PI. Following text is just notes that helps me later reproduce all steps.
Install Raspbian image to SD card
It's important find exact name device name of SD card. Try to remove and insert SD card and look at changes in /dev/ directory. Also look at "System Information" application. Final command for copy image to SD card is following:sudo dd bs=1m if=/Users/jan/Downloads/2014-01-07-wheezy-raspbian.img of=/dev/rdisk2
How to perform install in details is described at elinux.org/RPi_Easy_SD_Card_Setup.
Backup SD card to image file
It's similar to previous example
sudo dd bs=1m if=/dev/rdisk2 of=/Users/jan/Downloads/backup-2014-3-19.img
Before copying backup to another SD card, it's necessary remove all partitions that will be overwritten. For examples I would like to put image at /dev/rdisk2
so I have to execute:
diskutil unmountDisk /dev/rdisk2s1 diskutil unmountDisk /dev/rdisk2s2
Replace SD card with backup:
sudo dd bs=1m if=/Users/jan/Downloads/backup-2014-3-19.img of=/dev/rdisk2More details about
dd
command could be found at en.wikipedia.org/wiki/Dd_(Unix)
sudo apt-get update sudo apt-get upgrade sudo raspi-config http://www.raspberrypi.org/camera
No comments:
Post a Comment