32 GB SD card gone bad !! help

  • Thread starter Thread starter idmaster
  • Start date Start date
I

idmaster

So i just got an sd card from the store and i was trying to install raspbian on it, and writing an hybrid image with the "dd" command to it. so it didn't work, i used fedora arm installer to install the system on the sd card. now i want to reformat the sdcard back to 32 gb, PROBLEM !.

Fdisk shows :

Disk /dev/sdc: 1043 MB, 1043300352 bytes
215 heads, 24 sectors/track, 394 cylinders, total 2037696 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
Disk identifier: 0x000eb35e

My 32 gb card suddenly has a size of 1 gb. gparted shows 1 gb.

when i plug in the sd i get two things mounted, a 2.3 gb filesystem and a 60 mb filesystem.

so gparted and fdisk are wrong about the size of the sdcard, and if i plug the sdcard in i get different file containers mounted. I tried to create a new partition table but it does it on /dev/sdc which is 1 gb and not the normal size....

gnome-disks on linux mint does show the rest of the 32 gb container, but when i try to do anything with it i get an error :

Don't know how to create partitions this partition table of type `(null)' (udisks-error-quark, 0)




deleting one of the two other systems gives this error :

Error deleting partition /dev/sdc1: Command-line `parted --script "/dev/sdc" "rm 1"' exited with non-zero exit status 1: Error: /dev/sdc: unrecognised disk label
(udisks-error-quark, 0)




Im not sure what i should do now

please someone HELP ME!

Continue reading...
 
Back
Top