Full Version: HOWTO: Initial image put on Raspberry through linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to make a Raspberry PI ready for the first time.
What is needed:
  • Raspberry PI
  • Power supply
  • Linux computer to write image
  • SD card to put image on
  • Network connection to Raspberry (or TV + HDMI cable + keyboard)
First: On the Linux computer: download an image. I use the image "Weezy" found at: Downloads<br/>
Just download a zip file or through the torrent and then unzip.
At this moment I have the file: 2014-06-20-wheezy-raspbian.img on my computer.
Now put the SD-card onto the linux computer.
If linux does mount the card, unmount it. (make sure you will note the device, in my case: /dev/mmcblk0..)

Now write the image:
time sudo dd bs=4M if=./2013-02-09-wheezy-raspbian.img of=/dev/mmcblk0
[sudo] password for aart:
462+1 records in
462+1 records out
1939865600 bytes (1,9 GB) copied, 240,294 s, 8,1 MB/s

real    4m2.724s
user    0m0.030s
sys     0m4.260s
When this is ready (takes some time!) the SD card can be ejected and placed in the Raspberry.
Now continue on the raspberry. I am going there with ssh:
$ ssh pi@
Warning: Permanently added '' (ECDSA) to the list of known hosts.
pi@'s password:                              raspberry
Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
/usr/bin/xauth:  file /home/pi/.Xauthority does not exist

NOTICE: the software on this Raspberry Pi has not been fully configured. Please run 'sudo raspi-config'
So it says: run 'sudo raspi-config'. Let's do so:
The following items need to be done:
- Expand_rootfs -> Just execute
- Change timezone: Set it to Europe, Amsterdam (for me, YMMV)
Now I do a reboot, to expand the root-fs.
Afterwards, I log in again, to update the system.

And I do an update in sudo raspi-config

Also: update the system:
sudo apt-get update
sudo apt-get upgrade
and follow the instructions.

Now the raspberry is ready for usage.

You might want to look at the thread for putting the internal disk onto USB drive also: here