RPi SD cards

SD cards
The SD card is a key part of the Raspberry Pi; it provides the initial storage for the Operating System and files. Storage can be extended through many types of USB connected peripherals.

When the Raspberry Pi is 'switched on', i.e. connected to a power supply, a special piece of code called the bootloader is executed, which reads more special code from the SD card that is used to start up the Raspberry Pi. If there is no SD card inserted, it will not start. Do NOT push in or pull out an SD card while the Raspberry Pi is connected to the power, as this is likely to corrupt the SD card data (you might get away with it, but it is best not to).

The SD card must be formatted, or written to, in a special way that means the Raspberry Pi can read the data it needs to start properly. If you are new to this check the instructions, or buy a pre-formatted SD card.

One advantage to using an SD card like this is that you can have several SD cards, each with a different operating system, or a different purpose. Simply power off, switch cards, and reconnect the power. You have a different computer to play with.

Which SD card?


SD cards come in three physical sizes (see picture). The Raspberry Pi needs the largest one. The miniSD card and the MicrSD card can be used in a Raspberry Pi, but you will need an adapter / holder to fit it.

SD cards come in a range of storage sizes. You need one of type SDHC, but there are other types of SDSC, SDXC and SDIO which will not work in a Raspberry Pi (confirmation needed). The SDHC type comes in memory sizes of up to 32 GB.

There are other properties of SD cards that are not covered here. Read the Wikipedia article for those details.

Other SD card content
See the following links for other information:


 * Select a Distribution


 * Easy SD card set up


 * Advanced set up


 * Troubleshooting


 * SD card Performance

Technical Information
Note that manufacturers change their designs over time, even as the specs stay the same. (E.g. an ACME 8 GB class 4 card manufactured in 2011 might work, while one manufactured in 2012 might not.) For this reason, please specify product numbers in the lists below, when possible.

You can also attach the following fields from your card's CID: cd /sys/class/mmc_host/mmc?/mmc?:* echo "man:$(cat manfid) oem:$(cat oemid) name:$(cat name) hwrev:$(cat hwrev) fwrev:$(cat fwrev)"

please merge with http://elinux.org/RPi_Performance#SD_card

Preinstalled SD cards
A wide range of branded SD cards preinstalled with operating systems are available from The Pi Hut's Raspberry Pi Store.
 * Raspbian
 * Raspbian Preinstalled SD Cards (Multiple Size/Class choices)
 * XBMC
 * XBMC Preinstalled SD Cards (Multiple Size/Class choices)

Kingston and other verified SD cards preinstalled with the latest Raspbian operating system are available from many other websites Amazon UK and eBay UK.