Getting Started: Install your OS

In this post I will explain how to set up your Raspberry PI and get running using the recommended OS .

Items Required:

  1. Raspberry Pi
  2. Video or HDMI connector
  3. Network cable/wifi adaptor
  4. Monitor/TV
  5. 5V Power supply with Micro-USB B connector.
  6. Keyboard (Mouse if using GUI)
  7. SD Card – (Best to check for compatibility on http://elinux.org/RPi_SD_cards )
  8. Laptop or PC (To create initial image)

Firstly you will need to download the latest OS (At time of writing Raspbian Wheezy)  They can be found at http://www.raspberrypi.org/downloads

Once downloaded unzip to a “.img” file. This image can be burnt to a SD Card.

If you are using windows – http://sourceforge.net/projects/win32diskimager/  is a good tool to easily copy the image to SD Card. Download and run the win32diskimager software, select the drive letter (1) for your SD card IMPORTANT!!! you MUST get this correct as you may damage/corrupt other devices or data on your PC. Once correctly selected choose the “.img” file you previously unpacked and write (2) the file to the SD Card.

RPIE-DiskImager

You should now have a base install ready to start with the Raspberry PI.

It is worth reducing static risk and checking power is off – before touching the Raspberry PI (Or any electronic equipment)

<image>

Carefully connect the SD Card, Network cable or wifi adaptor, keyboard/mouse and video cable. Turn on the monitor and connect the power to the Raspberry PI.

<VIDEO>

after the boot up process has finished you can log in using the defaults –

Username: pi Password: raspberry

Firstly I would suggest setting the root (administrator) password –

sudo passwd root

This will prompt for new password (twice to confirm)

Logout using:

exit

Then log back in as the administrator. (root)

As everyone has the same default password – I would strongly recommend you change the default “pi” password using the same method:

sudo passwd pi

 

Once your internet connection is established –

The next step is to update the package repositories and update:

sudo apt-get update

Then

sudo apt-get upgrade

After downloading various packages and updates your PI will be ready for use.

to open a graphical desktop type:

startx

to further configure the Raspberry PI you can type

raspi-config

This gives you further options:

info                Information about this tool
expand_rootfs       Expand root partition to fill SD card
overscan            Change overscan
configure_keyboard  Set keyboard layout
change_pass         Change password for 'pi' user
change_locale       Set locale
change_timezone     Set timezone
memory_split        Change memory split
ssh                 Enable or disable ssh server
boot_behaviour      Start desktop on boot?
update              Try to upgrade raspi-config

one useful option here is to “expand_rootfs” This will expand the base image on the SD card to fill the entire available space.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *