< SD Clean
m (replace wiki list with html list (fixes warning box breaking the list order)) |
m (make link into Special:MyLanguage/Formatting an SD card/Windows) |
||
Line 14: | Line 14: | ||
<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> | ||
<li>Close the diskpart window.</li> | <li>Close the diskpart window.</li> | ||
<li>[[Formatting an SD card/Windows|Format the SD card]].</li> | <li>[[Special:MyLanguage/Formatting an SD card/Windows|Format the SD card]].</li> | ||
<li>Once the format is complete, copy your data back onto the SD card.</li> | <li>Once the format is complete, copy your data back onto the SD card.</li> | ||
</ol> | </ol> | ||
[[Category:General guides]] | [[Category:General guides]] |
Revision as of 04:03, 15 August 2023
This is an add-on section for completely recreating an SD card's filesystem using diskpart. 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.Never select disk 0! This will always be your main windows drive. - 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.
- Format the SD card.
- Once the format is complete, copy your data back onto the SD card.