On this page, we describe the basic process for setting up a Raspberry Pi with the Raspian OS.
Download the latest version of Raspbian from https://www.raspberrypi.org/downloads/raspbian/
After downloading the .zip file, unzip it to get the image file (.img) for writing to your SD card.
Put the SD card into your computer (not into the Raspberry Pi!).
Format the SD card using the FAT 32 format. On a Mac, use "Disk Utility".
Write the image file to the SD card. See here for detailed instructions:
: :$ diskutil list :/dev/disk2 : #: TYPE NAME SIZE IDENTIFIER : 0: FDisk_partition_scheme *7.9 GB disk2 : 1: DOS_FAT_32 RBPI 7.9 GB disk2s1
: The name is "disk2 in my case. The same disk can be accessed without buffering etc. as rdisk2, see here for background. For large copy operations like writing an image to an SD card or backing one up, rdiskx can be uo to 20 times faster than diskx.
$ diskutil unmountDisk /dev/disk2 :Unmount of all volumes on disk2 was successful
Copy the image to the drive using the name of your SD card instead of rdisk2.
This will take ca. 2 minutes, press Ctrl-T to get a status update.
1386217472 bytes transferred in 129.045041 secs (10742121 bytes/sec)
$ sudo diskutil eject /dev/rdisk2
Now put the SD card into the Raspberry Pi, connect a USB keyboard and an HDMI monitor and power it on.
Log in to the system using the defaults (keep in mind that the keyboard layout is most likely set to US, so y and x are interchanged, and so are some other keys!):
Change the password immediately:
$ passwd
Open config file in editor: sudo nano /etc/default/keyboard
Replace XKBLAYOUT=“gb”
by
XKBLAYOUT="de"
.
If an error message -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
appears, check http://askubuntu.com/questions/454260/how-to-solve-locale-problem.