Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I repartition an SDHC card (4 GB or more)? Do I need third-part tools or Linux (a live CD solution would be OK)?

In Windows' Disk Management the option Delete Partition is dimmed out:

Enter image description here

I can reformat the card as FAT32, copy files to and from the card and even change the file system to NTFS using the command line command CONVERT, but not repartition it.

The article How to Partition an SD Card in Windows XP talks about using "a Windows enabler program" which sound rather dubious to me.

I have tried to change from “Optimize for quick removal” to “Optimize for performance”. The option to format as NTFS appeared, but the Delete Partition option is still dimmed out.

Platform:

I have also tried on different versions of Windows and with different cards with the same result:

  • Kingston 4 GB SDHC card, speed class 4 (the one shown in the screenshot)
  • Transcend 2 GB (not marked as SDHC, but SD)
  • Windows 7 32-bit (albeit with a somewhat an older card reader) and Windows XP 32-bit on an EliteBook 8730w
share|improve this question
    
Why do you want to partition the SD cards? –  James Oct 10 '12 at 9:13
2  
It is a limitation of Windows that only the first partition of a removable disk can be mounted. (USB HDDs report themselves as fixed disks.) While it is possible to format a removable disk with multiple partition using a third party tool, you would not be able to mount anything beyond the first partition. This is not SD card specific, but SD cards are typically considered removable disks (unless you change the driver). –  Bob Oct 10 '12 at 9:24
    
James: I want to shrink the partition size in order to be able to format as FAT16 (FAT32). This is to do some testing on an embedded device that currently has reliability problems writing to an SDHC card. It may even turn out to be a work-around for the current problem. –  Peter Mortensen Oct 10 '12 at 13:40
    
@PeterMortensen: There is a similar question here with a solution: superuser.com/a/202236/13459 - using the diskpart command-line tool in Windows you can clear the partition table and create a new partition under 2GB that can then be formatted as FAT16. However, please be careful to select the correct 'disk' so that you do not wipe the wrong drive. –  James Oct 10 '12 at 15:42
    
@PeterMortensen: did you have any luck? –  James Oct 12 '12 at 12:15

2 Answers 2

You can't delete a partition while it contains a filesystem that is currently set to be always mounted. Remove the drive letter (From the Change Drive Letter and Paths option) and then you should be able to delete the partition.

share|improve this answer
1  
On one of the computers, I removed the drive letter and tried with "Optimize for quick removal" and with "Optimize for performance" (though the NTFS formatting option did not appear for some reason for the "Optimize for performance" option). I also restarted the computer. The option is still dimmed. I will try it on another computer/setup later today. –  Peter Mortensen Oct 10 '12 at 14:19

You can delete it with the DiskPart command line tool on windows. Read this http://www.winability.com/delete-protected-efi-disk-partition/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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