4

I'm experiencing a strange effect. When I write a Raspbian image to an SD card using dd, the SD card becomes unusable. The Pi won't boot up and gparted shows an unknown file system on my Linux machine. So my first thought was that my SD card isn't compatible. I tried two others with the same effect. Sadly none of them are in the compatability list.

I was about to give up when I tried the following: I formatted one of the cards to fat32 and extracted NOOBS to it. This worked fine and I used NOOBS to install Raspbian. After installing it booted up just fine. My conclusion would be that the SD card is compatible after all.

Although it's working now I'd like to have this mystery solved. Why doesn't it work after a simple dd?

  • 1
    Did you check the md5 sum on the image after you downloaded it ? Sounds like a corrupt image. – Lawrence Nov 23 '13 at 14:39
  • 3
    Make sure you use dd to write to the SD card, not to the first partition on de SD card. So of=/dev/sda and not of=/dev/sda1. Could you post the actual command you used? The fact that your PC doesn't see any filesystem seems to indicate that it's not a compatibility issue. – Gerben Nov 23 '13 at 14:51
  • 1
    @Gerben You are right. I used /dev/mmcblk0p1 instead of /dev/mmcblk0 as output. Didn't know those strange device names for SD cards and didn't think about it enough. Feeling stupid now ;-) Post it as an answer and I'll accept it. – André Stannek Nov 24 '13 at 10:26
  • 1
    We've all been there. Best of luck. – Gerben Nov 24 '13 at 12:27
5

Make sure you use dd to write to the SD card, not to the first partition on de SD card. So of=/dev/sda and not of=/dev/sda1.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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