Raspberry Pi Install

I recently picked up a Raspberry Pi from Creatron Inc with the intention of creating a dashboard.

The following are instructions for installing Linux (Debian Wheezy) on the SD card from OS X Mountain Lion.  I used the built in SD card reader on my Macbook Air and used several different SD cards, all 4 Gig or greater and all class 10.

These instructions assume comfort with the command line.

Installing Linux on SD Card

Download Raspbian optimised version of Debian Wheezy from:

List currently mounted disks:

Insert SD card, then determine which disk the SD card is:

Unmount the SD card, in this example it is disk1:

Use dd to copy the img file to the SD card and install either regular Raspbian image or soft float.  The soft float is use for Oracle JVM 1.6.

Regular image:

Soft float:

This will take about 35 minutes.

When complete, OS X will remount one of the new partitions, eject that new disk.

Linux Setup

Remove the SD card from the reader, install in the Raspberry Pi and plugin monitor and keyboard.

After boot the configuration application is run, these are the recommended steps and settings:

  • expand_rootfs
  • configure_keyboard
    • Generic 101-key PC
    • Other
    • English (US)
    • English (US)
    • The Default for the keyboard layout
    • No compose key
    • Use Control+Alt+Backspace to terminate the X server? No
  • change_password
  • change_locale
    • Unselect en_GB.UTF-8 UFT-8
    • Select en_US.UTF-8 UTF-8
    • Default locale for the system environment, en_US.UTF-8
  • change_timezone
  • ssh
    • Enable

Finally reboot the device, on first reboot after running the configuration application a job will run to expand the partitions, this can take a few minutes depending on size of SD card


Update System

After reboot and partitions have been expanded, updates should be run.  This can take an hour or more depending on speed of downloads.

Run the following commands, output has been removed:


Comments are closed.