Difference between revisions of "RPi Easy SD Card Setup"

From eLinux.org
Jump to: navigation, search
(Fixed list for easy SD Card installers, and added RasPiWrite utility)
Line 20: Line 20:
  
 
=Easy way=
 
=Easy way=
 +
 +
To write your SD card you start by downloading the SD image (the data you will write to the card). The best way to do this is using [http://en.wikipedia.org/wiki/BitTorrent_(protocol) BitTorrent]. This generally results in a faster download as it is a highly distributed system (you will be downloading the data from users who have previously downloaded it).
  
 
==Copying the image to an SD Card on Windows==
 
==Copying the image to an SD Card on Windows==
  
 +
# Download the  image from a mirror or torrent
 +
#* http://www.raspberrypi.org/downloads
 
# Extract the image file debian6-17-02-2012.img from the debian6-17-02-2012 directory in the debian6-17-02-2012.zip
 
# Extract the image file debian6-17-02-2012.img from the debian6-17-02-2012 directory in the debian6-17-02-2012.zip
 
# Insert the SD card into your SD card reader and check what drive letter it was assigned.
 
# Insert the SD card into your SD card reader and check what drive letter it was assigned.

Revision as of 23:50, 9 April 2012


RaspPi.png Back to the Hub


Getting Started:

Buying Guide - for advice on buying the Raspberry Pi.

SD Card Setup - for information on how to prepare the SD Card used to boot your Raspberry Pi.

Basic Setup - for help with buying / selecting other hardware and setting it up.

Beginners Guide - you are up and running, now what can you do?

Latest RPi 4 Topics - Recent topics on Raspberry Pi 4 and the Pi OS

Advanced Setup - for more extensive information on setting up.

Trouble Shooting - some things to check if things don't work as expected.

SD Card setup

To boot the Raspberry Pi, you need an SD card installed with a bootloader provided by the foundation, and a suitable Operating System.

Official images are available from http://www.raspberrypi.org/downloads. This guide assumes you have downloaded the Debian "squeeze" image.

When you write the Raspberry Pi image to your SD card you will lose all data that was on the card.

Safest/Laziest way

Buy a preloaded card from the Raspberry Pi shop (not available yet)

Easiest way

  • Download and run the PiCard tool. It will guide you through the progress. PiCard is currently being developed , and aims to make creation of bootable SD cards for the Pi easy. See the google code repo and the forum discussion.
  • Use an installer program. The Fedora ARM Installer will download and install Raspberry Pi Fedora Remix images, but it will also install other images if they are already downloaded and in uncompressed or .gz format.
  • (Mac) The RasPiWrite utility is a python script which will walk you through the process of installing to SD card, it is works with any Raspberry Pi compatible disk image, and can download one of the currently available distros if you don't have one.

Easy way

To write your SD card you start by downloading the SD image (the data you will write to the card). The best way to do this is using BitTorrent. This generally results in a faster download as it is a highly distributed system (you will be downloading the data from users who have previously downloaded it).

Copying the image to an SD Card on Windows

  1. Download the image from a mirror or torrent
  2. Extract the image file debian6-17-02-2012.img from the debian6-17-02-2012 directory in the debian6-17-02-2012.zip
  3. Insert the SD card into your SD card reader and check what drive letter it was assigned.
  4. Download the Win32DiskImager utility. The download links are on the right hand side of the page, you want the binary zip.
  5. Extract the zip file and run the Win32DiskImager utility.
  6. Select the debian6-17-02-2012.img image file you extracted earlier
  7. Select the drive letter of the SD card in the device box. Be careful to select the correct drive.
  8. Click Write and wait for the write to complete.
  9. Exit the imager and eject the SD card.
  10. Insert the card in the Raspberry Pi, power it on, and it should boot up. Have fun!

Copying an image to the SD Card in Mac OSx

  1. Download the image from a mirror or torrent
  2. Verify if the the hash key is the same (optional), in the terminal run:
    • shasum ~/Downloads/debian6-17-02-2012.zip
  3. Extract the image, just double click the zip, it will extract automatically
  4. From the terminal run df -h
  5. Connect the sdcard reader with the sdcard inside
  6. Run df -h again and look for the new device that wasn't listed last time. Record the filesystem name of the device, e.g. /dev/disk1s1
  7. Open disk utility and unmount the partition of the sdcard (do not eject it, or you have to reconnect it)
  8. In the terminal write the image to the card with this command, making sure you replace "/dev/disk1" with the right device name from before, but missing out the final "s1".
    • dd bs=1m if=~/Downloads/debian6-17-02-2012/debian6-17-02-2012.img of=/dev/disk1
  9. After the dd comand finishes go to disk utility and eject the sdcard
  10. Insert it in the raspberry pi, and have fun

Copying an image to the SD Card in Linux

  1. Download the image from a mirror or torrent
  2. Verify if the the hash key is the same (optional), in the terminal run:
    • shasum ~/debian6-17-02-2012.zip
  3. Extract the image, with
    • unzip ~/debian6-17-02-2012.zip
  4. Connect the sdcard reader with the sdcard inside
  5. Check the name of the device that the SD card was mounted as by running: dmesg | tail, it will be something like "/dev/sdc"
  6. In the terminal write the image to the card with this command, making sure you replace "/dev/sdc" with the right device name.
    • dd bs=1M if=~/debian6-17-02-2012/debian6-17-02-2012.img of=/dev/sdc
  7. Insert it in the raspberry pi, and have fun