I have a Raspberry Pi 2 and I created a Linux distribution using buildroot. It generated an sdcard.img file. I tried to format my 8 GB SD card and flashing the sdcard.img on it using:

sudo dd if=~/buildroot/output/images/sdcard.img of=/dev/sdb

When I put the SD card in my Raspberry Pi and I put the power cable the ACT blink 2 times.

I don't understand. What is the problem?

3 Answers 3


2 flashes mean the SD card cannot be read. Have you verified that your command really flashed the correct device? Have you verified that your SD card is okay? Have you verified if the image is properly flashed on the SD card?

Maybe your image simply does not work.


You may not have formatted the SD Card properly. I personally use the creatively named "SDFormatter" (blue SD Card logo) to format the cards first.

  • He's using sudo and dd at the same time. Looks like he's using Linux. As far as I know, SDFormatter is Windows-only.
    – Aloha
    May 9, 2016 at 0:30
  • 1
    @PandaLion98 I'm pretty sure you can use dd on a mac, which is what I use SDFormatter on.
    – Kachamenus
    May 9, 2016 at 23:21

I used ImageWriter and I reformated the sdcard and the raspberrypi booted very well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.