(Severely) Corrupted SD card after BitLocker failure.

Discussion in 'Computer Hardware, Devices and Accessories' started by Duo8, Jan 11, 2014.

  1. Duo8
    OP

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    So for no good reason I tried enabling BitLocker on my 4GB mSD card. It ran for a min or so then suddenly showed something like "The data on the drive was changed". I clicked Cancel. After that, the drive seems to be unformatted. But when I tried to format it, Windows told me that the SD's size is 13MB. And it couldn't format the SD anyway.

    So far I've tried the default formatter, SD Formatter, a partioning tool and win32disk imager (shows a bunch of data in HexEdit). But I still couldn't bring back the full 4GB capacity.

    Are there anyway to properly format this drive? The data isn't important, I just want the full capacity back.
     
  2. npbg6464

    npbg6464 Member

    Newcomer
    30
    10
    Sep 21, 2013
    United States
    I've never heard of SD cards changing physical capacity. Can you post a screenshot from windows disk manager? Right-click Computer > Manage > Disk management.
    If it's just a corrupted partition table, all you need to do is wipe the card's first physical sector.
    Also try reading the card on a different machine or under a different OS (older windows or linux). I'm not sure how bitlocker works, but it might be loading a driver that abstracts from accessing raw sectors on the card.
     
  3. Duo8
    OP

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    Here:
    [​IMG]

    I'm gonna install a Linux distro soon soI'll see if it'll make any difference.
     
  4. npbg6464

    npbg6464 Member

    Newcomer
    30
    10
    Sep 21, 2013
    United States
    Yeah, definitely try reading it under another OS without bitlocker. You can also try checking it with a tool like HDAT2 (requires booting from USB key). AFAIK, there's no standard for modifying an sd card's reported sector count.
     
  5. Duo8
    OP

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    I haven't installed a distro yet but I tried viewing the card in GParted. It shows 12.9 MB of unallocated space, couldn't format it, and told me that it "couldn't read disk label" IIRC.
     
  6. Mariko

    Mariko GBAtemp Regular

    Member
    179
    102
    Oct 13, 2009
    Try the command line DISKPART tool. The commands you need to use are [disregard the parenthesis, obviously]:

    Code:
    DISKPART
    list disk (you'll get a list, from which you need to choose your SD card)
    select disk X (where X is the number corresponding to your SD card)
    clean
    create partition primary
    select partition 1
    active
    format fs=FAT32 QUICK (unless you want it to use NTFS or something else)
    assign
    exit (exits the CMD window)
    I know you have already tried partitioning software, but give this a go. Some HEX editors allow you to zero-fill drives and removable media. After doing so, you should be able to do a clean format as well.
     
  7. trumpet-205

    trumpet-205 Embrace the darkness within

    Member
    4,363
    542
    Jan 14, 2009
    United States
    You have to initialize the SD card, this'll reset MBR/GPT.
     
  8. npbg6464

    npbg6464 Member

    Newcomer
    30
    10
    Sep 21, 2013
    United States
    According to the OP it's not a case of MBR corruption, the card is actually misreporting its sector count.

    You booted from a live CD or usb key, correct? Try checking it on a different computer and using a different card reader.
     
  9. Duo8
    OP

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    Partitioning tools didn't work. Not even DISKPART. Apparently they can't write to the card.
    I don't have another PC but I've tried 3 different readers. All 3 gave me the same result.
     
  10. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,388
    10,217
    Jul 11, 2009
    United States
    I forgot
    Odd, because this happens all the time when SD cards start to die out/they become corrupted (either because of shoddy readers or other damage).


    @OP, download GParted and either USB boot or CD boot it. If GParted can't format it, it's likely the SD card is dead or dying.
     
  11. npbg6464

    npbg6464 Member

    Newcomer
    30
    10
    Sep 21, 2013
    United States
    I meant that AFAIK there's no standard software for changing an SD card's reported sector count. Manufacturers can do it using proprietary commands but common software like Bitlocker shouldn't be capable of that.

    OP, if you booted into GParted from a liveCD or USB and tried another card reader and still get the same result, it's like Tom said - your card is probably dying.