Introduction: RPi DI001: Get Your Raspberry Pi Ready With Operating System Raspbian “wheezy”
Dear All, I am XCopter, from Hong Kong (not China). It is my pleasure to share my 1st Instructable: "RPi DI001"
My future Development Instructions will include hardware interfacing with different sensors and communication modules using GPIO including I2C and UART. Cross compiling instructions will be provided soon as well. Please subsribe.
For all my future RPi instructables, I would use MacOSX with Ubuntu (VM) for assistance.
You do not need to buy a Mac..it is more than enough to have a netbook with ubuntu installed.
Go through this if you have just received your PRi, or you wanna reinstall it.
Prerequisite:
1. A clear mind
Get some sleep if you dont have..
2. An ubuntu pc/laptop with SD Card reader (or equivalent)
Download & install Ubuntu Desktop if you dont have..
3. A Raspberry Pi
Buy one if you dont have.. I recommend element14 for Hong Kong DIYer. 1 day shipping! (HKD279@19, June)
4. A 2GB+ SD Card (or TF card with adapter)
Buy one if you dont have, buy 1 more if you wanna dual OS
Goto next step....
My future Development Instructions will include hardware interfacing with different sensors and communication modules using GPIO including I2C and UART. Cross compiling instructions will be provided soon as well. Please subsribe.
For all my future RPi instructables, I would use MacOSX with Ubuntu (VM) for assistance.
You do not need to buy a Mac..it is more than enough to have a netbook with ubuntu installed.
Go through this if you have just received your PRi, or you wanna reinstall it.
Prerequisite:
1. A clear mind
Get some sleep if you dont have..
2. An ubuntu pc/laptop with SD Card reader (or equivalent)
Download & install Ubuntu Desktop if you dont have..
3. A Raspberry Pi
Buy one if you dont have.. I recommend element14 for Hong Kong DIYer. 1 day shipping! (HKD279@19, June)
4. A 2GB+ SD Card (or TF card with adapter)
Buy one if you dont have, buy 1 more if you wanna dual OS
Goto next step....
Step 1: Create a Folder "rpi-dev" Under Your Home Directory
Make a folder in your home directory called "rpi-dev"
for example, if your username is xcopter, then you are going to create a folder called "rpi-dev" under the path /home/xcopter.
i.e. under terminal, execute command
mkdir ~/rpi-dev
for example, if your username is xcopter, then you are going to create a folder called "rpi-dev" under the path /home/xcopter.
i.e. under terminal, execute command
mkdir ~/rpi-dev
Step 2: Prepare the SD Card OS Raw Image From Official Repo
In Ubuntu, use you favourite browser to visit
http://downloads.raspberrypi.org/raspbian/images/
Download the latest .zip file under the yyyy-mm-dd pattern path
into your ~/rpi-dev
Mine is "2013-05-25-wheezy-raspbian.zip"
Extract the image, using command below in terminal
cd ~/rpi-dev
unzip 2013-05-25-wheezy-raspbian.zip
Step 3: Insert Your SD Card Into PC/laptop, DD It
All your data in your SD card will be erased.
List the devices and find out the sd card device path using command below in terminal
df -h
The result should be similar to:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 233Gi 186Gi 46Gi 81% 48894451 12174989 80% /
/dev/yourSDCard 2G 1G ...................
So now you identify the name of your sd card reader device path is "/dev/yourSDCard" by looking at the Size details
Unmount the drive before write the raw image to the sd card using command below in terminal
umount /dev/yourSDCard
Very important! The critical command is here, don't use the wrong device path (say bye to your data)
dd bs=1M if=~/rpi-dev/2013-05-25-wheezy-raspbian.img of=/dev/yourSDCard
Have a dinner first.. it takes me 1 hour + to finish the dd command.
After the command is completed, disconnect the card from the reader.
List the devices and find out the sd card device path using command below in terminal
df -h
The result should be similar to:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 233Gi 186Gi 46Gi 81% 48894451 12174989 80% /
/dev/yourSDCard 2G 1G ...................
So now you identify the name of your sd card reader device path is "/dev/yourSDCard" by looking at the Size details
Unmount the drive before write the raw image to the sd card using command below in terminal
umount /dev/yourSDCard
Very important! The critical command is here, don't use the wrong device path (say bye to your data)
dd bs=1M if=~/rpi-dev/2013-05-25-wheezy-raspbian.img of=/dev/yourSDCard
Have a dinner first.. it takes me 1 hour + to finish the dd command.
After the command is completed, disconnect the card from the reader.
Step 4: Finally, Plug the SD Card Into RPi and Power It Up
Notice that it is quite essential to provide RPi a stable power source with more than 700mA current.
I would use my Samsung Android Phone Charger which provides more than 1A current.
Connect your keyboard and login with info below
Default username: pi
Default password: raspberry
Enjoy your RPi!
You could start the GUI by execute the following command
startx
B.T.W
Don't use microsoft wireless desktop 800 keyboard mouse set for RPi.. the character repeats......ssssssss
I would use my Samsung Android Phone Charger which provides more than 1A current.
Connect your keyboard and login with info below
Default username: pi
Default password: raspberry
Enjoy your RPi!
You could start the GUI by execute the following command
startx
B.T.W
Don't use microsoft wireless desktop 800 keyboard mouse set for RPi.. the character repeats......ssssssss