< SD Clean
(Step 10 should say "If FAT32 was not an option in step 9", not 4. Not sure how that happened.) |
(Re-added disk management steps, as it confuses people when trying to format empty partitions. Also Windows prevents you from formatting the drive while windows is running, so edited the warning) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
<ol> | <ol> | ||
<li>Launch <code>diskpart</code> by searching for <code>diskpart</code> in the Windows search bar</li> | <li>Launch <code>diskpart</code> by searching for <code>diskpart</code> in the Windows search bar.</li> | ||
<li>Once diskpart is active in the new Command Prompt window, type <code>list disk</code></li> | <li>Once diskpart is active in the new Command Prompt window, type <code>list disk</code>.</li> | ||
<li>Find your SD card in the list of disks (hint: look for the size of your card), then type <code>select disk #</code>, where # is the disk number of your SD card {{info|text=Disk 0 will always be your main windows drive, so you'd select any disk after it.}}</li> | <li>Find your SD card in the list of disks (hint: look for the size of your card), then type <code>select disk #</code>, where # is the disk number of your SD card. {{info|text=Disk 0 will always be your main windows drive, so you'd select any disk after it.}}</li> | ||
<li>Type <code>list disk</code> again. You should now see a * next to your SD card</li> | <li>Type <code>list disk</code> again. You should now see a * next to your SD card.</li> | ||
<li>Once you are absolutely sure that you have selected the right disk, type <code>clean</code>, then type <code>convert mbr</code></li> | <li>Once you are absolutely sure that you have selected the right disk, type <code>clean</code>, then type <code>convert mbr</code>.</li> | ||
# Close the diskpart window, and search for <code>diskmgmt.msc</code> in the windows search bar. | |||
# Once the disk management window loads, you should be able to see your SD card as a black 'unallocated' area in the bottom part of the window. You may have to scroll down the bottom part of the window to see it. | |||
# Right click on the black unallocated area and select <code>new simple volume</code>. | |||
# Click through all the prompts until you get to the one about formatting - there, select "FAT32" as the file system. | |||
#* If the SD card is over 32GB in size, instead, select exFAT and then [[Formatting an SD card/Windows|format the SD card to FAT32]]. | |||
# Once the format is complete, copy your data back onto the SD card. | |||
[[Category:General guides]] | [[Category:General guides]] |
Revision as of 12:32, 12 December 2023
This is an add-on section for completely recreating an SD card's filesystem using diskpart and Disk Management. This should only be done if formatting does not fix your issue or is not possible for some reason.
This page is for Windows users only. If you are not on Windows, see the Mac and/or Linux pages instead.
Instructions
Before beginning these steps, copy all of your SD card's contents to a folder on your computer. |
- Launch
diskpart
by searching fordiskpart
in the Windows search bar. - Once diskpart is active in the new Command Prompt window, type
list disk
. - Find your SD card in the list of disks (hint: look for the size of your card), then type
select disk #
, where # is the disk number of your SD card.Disk 0 will always be your main windows drive, so you'd select any disk after it. - Type
list disk
again. You should now see a * next to your SD card. - Once you are absolutely sure that you have selected the right disk, type
clean
, then typeconvert mbr
. - Close the diskpart window, and search for
diskmgmt.msc
in the windows search bar. - Once the disk management window loads, you should be able to see your SD card as a black 'unallocated' area in the bottom part of the window. You may have to scroll down the bottom part of the window to see it.
- Right click on the black unallocated area and select
new simple volume
. - Click through all the prompts until you get to the one about formatting - there, select "FAT32" as the file system.
- If the SD card is over 32GB in size, instead, select exFAT and then format the SD card to FAT32.
- Once the format is complete, copy your data back onto the SD card.