Problem burning .img into SDHC card

First of all, I'm using Ubuntu 14.04. I was trying to write the Raspbian.img file into a 32GB Sandisk microSD following this tutorial. After executing the command, my sdcard was on /dev/sdc and the raspbian.img was in the file rp.img. After executing this command: sudo dd bs=4M if=rp.img of=/dev/sdc it told me that the sd card didn't have enough space, and the sdcard ended up having just 60MB.

I used Windows with a special program which formatted my card to 32GB again, and in fat32. And tried to burn the .img into the sdcard from windows, with the same results. Each time I try to run that command (on Linux) or burn the image in Windows, I have the same error! Also tried to burn the .img in Windows, but I had the same problem.

Now my card is not recognized by any computer (tried 2 different computers and 3 different readers). When I run sudo fdisk -l in Linux, I get this output:

Disk /dev/sdc: 28.8 GiB, 30908350464 bytes, 60367872 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes 

Does someone know how to fix this problem? Should I buy a normal SD card and not a microSD?

Replay

Category: partitioning Time: 2016-07-31 Views: 2

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.160 (s). 13 q(s)