Format a Partitioned Storage Device

by PJMOR in Circuits > Software

6495 Views, 162 Favorites, 0 Comments

Format a Partitioned Storage Device

Step_7.png

When you have a storage device (such as a USB key, an SD card, or a hard drive) that has several partitions, formatting it so that it can only have one main partition isn't always easy. This will show you how to format it on windows so that it can be as good as new.

Open Command Prompt

Step_1.png

Press simultaneously the windows key and the R key, and the "Run" window will appear. In it, type cmd. This will open up command prompt, which will be used to format your storage device.

Open DiskPart

Step_2.png

In the command prompt, type diskpart. If a window pops up asking you to grant administrator access, click yes. Diskpart is used to add partitions to storage devices, remove partitions, assign letters, and more. If you want to read more about it, click here.

View All Storage Devices Connected

Step_3.png

To prevent things from going terribly wrong, remove as many storage devices (except the one you are trying to format) from your computer. Then in command prompt, type list disk. This will show you a list of storage devices connected to your computer.

Select Your Storage Device

Step_4.png

In the list diskpart shows you, find the storage device you want to format. Look at the size of the volume. For example, if you are formatting an 8GB SD card, look for a volume around that size. In my case, 0 is my internal hard disk, and 1 is my 8GB SD card. Once you have found which number represents your storage device, type select disk #, # representing the number of your device.

Remove All Partitions

Step_5.png

Now, type clean. This will clear the partition table.

Create a Main Partition

Step_6.png

Now, you must create a partition to make your storage device usable. To do so, type create partition primary.

Format It

Step_7.png

To avoid file corruption, format it. Just type format fs=fat32 quick. Your storage device is ready! Just close command prompt and you're ready to go.