Getting Started With Raspberry Pi Part 1

So, you have finally gotten your hands on a Raspberry Pi. Don’t know where to start unwrapping the goodness? These next posts are just for you. In this multi part series, we are going to go over: the initial setup of your Pi, networking your Pi, and going in head first into some unique projects.

About the Raspberry Pi

A Picture of the Raspberry Pi Model B. A Picture of the Raspberry Pi Model B

The Raspberry Pi is a single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. The design is based on a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU, and 512 megabytes of RAM. The design does not include a built-in hard disk or solid-state drive, instead relying on an SD card for booting and long-term storage – Wikipedia.

Burning the SD Card

  1. Download the newest Raspbian “wheezy” distort from http://www.raspberrypi.org/downloads www.raspberrypi.org/downloads Raspberry Pi – Downloads

  2. Expand the Downloaded .zip to a .img which will be about 2GB

  3. If not using a new SD Card, format it to any format, just ensure they it has 1 mountable partition

  4. Write image to SD card using ‘dd’ command in Terminal

Process for writing the image to the SD Card:

  1. Unmount SD Card
  2. Transfer Image
  3. Syncronize/Check Transfer
  4. Eject Disk

My Cumulative command Using 12-16 Wheezy

Setting Up Wheezy

Connect a Monitor, either DVI/HDMI or Composite; a keyboard; and mouse. Power On the Pi and when it has finished booting, you will enter the Raspi-Config, the Device Setup Menu.

Raspi-Config

Raspi-Config

 In the Raspi-Config menu, Use Space to select/deselect and use Enter in non-list menus. Tab allows you to jump to Okay or Cancel, again using Enter to select or the arrow keys to move around. You will want to go and Expand the root partition via expand _rootfs ->Expands Root Partition to fill Disk, as the burning leaves the main partition at only 2GB, if you have a larger card, the Pi will only know about the 2GB it was burned to.  Expanding Root Partition indexes the rest of the SD card, so that the Pi can read and write to them.

Now Reboot the Pi

When the Pi Boots Up again it will resize the partition and depending on the SD Card size, the time it takes to expand the partition will vary.

If prompted to login enter –Username: ‘Pi’   Password: ‘Raspberry’

Re-enter the setup menu that you were just in by entering ‘sudo rasp-config’ if it does not reopen automatically. If your keyboard does not work the way it is intended to, use the configure_keyboard to change the key-map to your keyboard. If you live outside of Great Britian, you will want to change the locale via change_locale, and set the locale to en_US.UTF-8 UTF-8, this tells the OS what characters and symbols to use, in addition to the way dates and times are written. Make sure that you also change the timezone to the appropriate one via change_timezone.

Reboot