Raspberry Pi – First time set up using Linux

Preparation

Before you’re able to perform a first time set up of your Raspberry Pi, you’ll need the following (as of Raspberry Pi modB):

  • SD Card (min. 6GB)
  • HDMI cable
  • Compatible monitor
  • Keyboard
  • DC Power supply (1200mA / 1.2A)
Raspberry Pi Mod.B 512

Download the OS

Start by downloading an image of the existing Raspberry Pi operating systems, preferrably NOOBS, here: http://www.raspberrypi.org/downloads/

Upload image to the SD card

You cannot simply upload the image to the SD card as a file, since the Raspberry Pi won’t recognise it. You will have to format the SD card and upload the image using Linux’s dd-command.

  1. Open a terminal window.
  2. Find your SD card using te following command: df -h
  3. Unmount the SD card from Linux using unmount /dev/sdxx, where sdxx is the name of your SD card.
  4. Format and install the image using the dd command: dd bs=4M if=~/raspbianImage.img of=/dev/sdxx. Exchange ~/raspbianImage.img to match the path of the downloaded image on your system.

Start up the Raspberry Pi

Now you can plug in your SD card to your Raspberry Pi, hook upp a screen, keyboard, monitor and lastly a DC power source. The Raspberry Pi will boot into a visual setup of the operating system you’ve chosen. Simply follow the instructions to finish setting up your Raspberry Pi.

Install remote desktop server in Linux (Bonus)

To install RMD server on your Linux machine, you’ll use the apt-get command.

  1. Open a terminal window in Linux
  2. Type sudo apt-get update and hit enter. This will update the list of available software for your machine.
  3. Type sudo apt-get install xrdp
  4. When asked if installation shall proceed, type Y and wait for the installation to finish.