Install Raspbian Wheezy Linux to Raspberry Pi using Linux

1 minute read

Επιτέλους! (at last! in greek) After a month and a half of waiting, I received my Raspberry Pi! Now I am going to show you how to install Raspbian Wheezy Linux into your Raspberry pi! To complete this task I used Lubuntu Linux.

1. Get an SD card

The SD card will be your hard drive! It must be at least 2Gb in size. Raspberry organisation recommends 4Gb.

2. Download Raspbian Wheezy

You can download Raspbian Wheezy Linux from here. and unzip it to a directory.

3. Insert your SD card and get mount information

When you insert your SD card the system asks you whether you want to mount it or not. Mount it, so you can explore its contents from the file explorer.

4. Run df to find mount point and device name

Run df command and find your device in /dev directory.For me it was /dev/mmcblk0. The output is goint to appear as the following:

   linux@ubuntu:~$ df
   Filesystem     1K-blocks     Used Available Use% Mounted on
   /dev/loop0      25948028 13156440  11473496  54% /
   udev             1018844        4   1018840   1% /dev
   tmpfs             410444      872    409572   1% /run
   none                5120        0      5120   0% /run/lock
   /dev/sda6       42074200 35229872   6844328  84% /host
   none             1026108        0   1026108   0% /run/shm
   <strong>/dev/mmcblk0     1946896        4   1946892   1% /medi/mysdcard</strong>

5. Unmount the SD card

   umount /media/mysdcard

6. Format SD card in FAT 32

   sudo mkdosfs -F 32 -v /dev/mmcblk0

7. Copy .img file to SD card using dd

   sudo dd bs=1M if="/home/linux/2013-02-09-wheezy-raspbian.img" of=/dev/mmcblk0

When procedure finishes you are ready! Unplug your SD card from your computer and insert it into your Raspberry Pi. You can find more installation information in Raspberry Pi Quick Start Guide

Comments