Install Raspbian Wheezy Linux to Raspberry Pi using Linux

Επιτέλους! (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
/dev/mmcblk0     1946896        4   1946892   1% /media/mysdcard

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

Advertisements

About cmanios

programming
This entry was posted in Linux, Raspberry Pi, Raspbian, Ubuntu and tagged , , , , , , , , , , , , . Bookmark the permalink.

10 Responses to Install Raspbian Wheezy Linux to Raspberry Pi using Linux

  1. derick paul says:

    Instead of dd, dcfldd is more useful as it displays the status of writing process..
    I have found a page reguarding it.
    Almost same method as given above. But just sharing
    http://lawrencematthew.wordpress.com/2013/08/04/installing-raspbian-os-using-ubuntu-pc/

  2. health says:

    Your style is really unique compared to other people I have read stuff from.
    I appreciate you for posting when you’ve got the opportunity, Guess I’ll just bookmark this blog.

  3. Pingback: Raspberry Pi and Java for beginners - BitsOfGyan

  4. Just used this method to write Raspbian Jessie to a new card. Thanks … we’re gonna have lots of fun in the office with our new Pi !!

    • cmanios says:

      Thank you! I am very glad this post helped you!

      • Stavros says:

        Have a nice weekend!
        Raspberry is a nice “tool” latest version is fast enough being quad core 1.2 Ghz. I used my old one as a kind of Iot getting temperature and humidity values to a mysql database. Did you use in any project?

        Kind regards
        Stavros

  5. minorfs says:

    Step 6 isn’t useful, as #7 you overwrite everything you did in #6.

    • cmanios says:

      Hello minorfs!

      Thank you for your comment! Step #6 is useful when your SD card is already formatted with FAT16 or NTFS. We need to ensure that it will be FAT32. If you are sure about FAT32, then you can skip step #6.

      Cheers!
      Christos

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s