Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Checking SD card integrity/Linux and Formatting an SD card/Windows: Difference between pages

From Hacks Guide Wiki
(Difference between pages)
 
Undo MSET9 Fresh mention - Windows
Tag: Undo
 
Line 1: Line 1:
This is an add-on section for checking your SD card for errors using F3.
<languages/>
<translate>
<!--T:1-->
This is an add-on section for formatting an SD card to FAT32.


Depending on the size of your SD card and the speed of your computer, this process can take up to several hours!
<!--T:3-->
This page is for Windows users only. If you are not on Windows, check out the [[Special:MyLanguage/Formatting an SD card/Linux|Linux]] or [[Special:MyLanguage/Formatting an SD card/Mac|Mac]] pages.
</translate>


This page is for Linux users only. If you are not on Linux, check out the [[Checking SD card integrity/Windows|Windows]] or [[Checking SD card integrity/Mac|Mac]] pages.
== Choose your SD card size ==
<tabber>
|-|<translate><!--T:40--> 64GB or larger</translate>=


== What You Need ==
=== What You Need ===
* The latest version of {{GitHub|AltraMayor/f3/releases/tag/v8.0|F3}} (the <code>.zip</code> file)
*<translate><!--T:4--> The latest version of <tvar name="sdformatter">[https://www.sdcard.org/downloads/formatter/sd-memory-card-formatter-for-windows-download/ SD Memory Card Formatter]</tvar></translate>
*<translate><!--T:5--> The latest version of <tvar name="guiformat">[http://ridgecrop.co.uk/index.htm?guiformat.htm guiformat]</tvar></translate>


== Instructions ==
<translate>
# Unzip the f3 <code>.zip</code>
=== Instructions === <!--T:39-->
# <code>cd</code> into the f3 directory
</translate>
# Run <code>make</code> to compile F3
# Insert your SD card into your computer
# Mount your SD card
# Run <code>./f3write <your SD card mount point></code>
# Wait until the process is complete. See below for an example output.
  $ ./f3write /media/michel/6135-3363/
  Free space: 29.71 GB
  Creating file 1.h2w ... OK!
  ...
  Creating file 30.h2w ... OK!
  Free space: 0.00 Byte
  Average Writing speed: 4.90 MB/s
# Run <code>./f3read <your SD card mount point></code>
# Wait until the process is complete. See below for an example output.
  $ ./f3read /media/michel/6135-3363/
  SECTORS                        ok/corrupted/changed/overwritten
  Validating file 1.h2w ... 2097152/        0/      0/      0
  ...
  Validating file 30.h2w ... 1491904/        0/      0/      0
  ...
  Data OK: 29.71 GB (62309312 sectors)
  Data LOST: 0.00 Byte (0 sectors)
  Corrupted: 0.00 Byte (0 sectors)
  Slightly changed: 0.00 Byte (0 sectors)
  Overwritten: 0.00 Byte (0 sectors)
  Average Reading speed: 9.42 MB/s


{{success|text=If the test shows the result <code>Data LOST: 0.00 Byte (0 sectors)</code>, your SD card is likely good. You can delete all <code>.h2w</code> files on your SD card.}}
<ol>
<li><translate><!--T:22--> Insert your SD card into your computer</translate></li>
<li><translate><!--T:23--> If the SD card has any files and folders on it, copy everything to a folder on your computer</translate></li>
<li><translate><!--T:43--> Run <code>SD Card Formatter Setup</code> (the <code>.exe</code> file) in the downloaded .zip file with Administrator privileges, then install the program</translate></li>
<li><translate><!--T:44--> Run <code>SD Card Formatter</code> from the Start Menu</translate></li>
<li><translate><!--T:45--> Select your SD card’s drive letter for "Select card"</translate>{{warning|<translate nowrap><!--T:46--> Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!</translate>}}</li>
<li><translate><!--T:47--> Ensure that "Quick Format" is selected</translate></li>
<li><translate><!--T:48--> Click "Format"</translate></li>
<li><translate><!--T:49--> Click "OK"</translate></li>
<li><translate><!--T:50--> Wait for the format to finish</translate></li>
<li><translate><!--T:51--> Click "OK"</translate></li>{{info|<translate nowrap><!--T:52--> '''You're not done yet!''' Your SD card will be formatted to exFAT at this point. The following steps will format it to FAT32.</translate>}}
<li><translate><!--T:53--> Close SD Card Formatter</translate></li>
<li><translate><!--T:24--> Run <code>guiformat.exe</code></translate></li>
<li><translate><!--T:25--> Select your SD card’s drive letter for "Drive"</translate>{{warning|<translate nowrap><!--T:26--> Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!</translate>}}</li>
<li><translate><!--T:27--> Select a size for "Allocation unit size"</translate>
<ul>
<li><translate><!--T:28--> If the SD card is 64GB, choose 32768</translate></li>
<li><translate><!--T:29--> If the SD card is larger than 64GB, choose 65536</translate></li>
</ul></li>
<li><translate><!--T:31--> Ensure that "Quick Format" is selected</translate></li>
<li><translate><!--T:32--> Click "Start"</translate></li>
<li><translate><!--T:33--> Click "OK"</translate></li>
<li><translate><!--T:34--> Wait for the format to finish</translate></li>
<li><translate><!--T:35--> Click "Close"</translate></li>
<li><translate><!--T:36--> If the SD card had any files and folders on it before the format, copy everything back from your computer</translate></li>
</ol>


{{critical|text=If the test shows any other results, your SD card is failing. You will have to replace it!}}
<translate>
=== Common errors with guiformat === <!--T:37--> </translate>
==== Failed to open device: GetLastError()=32 ====
<translate>
<!--T:38-->
Close everything that may be using the SD card, such as any File Explorer windows. If it does not resolve the issue, try formatting the card to NTFS, then run GUIFormat again.
</translate>
 
==== GetLastError()=1117 ====
<translate>
<!--T:41-->
Your SD card write-protection switch may be [https://3ds.hacks.guide/images/sdlock.png enabled]. The lock must be flipped upwards to allow writing to the SD card (including formatting).
</translate>
 
|-|<translate><!--T:42--> 32GB or smaller</translate>=
 
=== What You Need ===
*<translate><!--T:56--> The latest version of <tvar name="sdformatter">[https://www.sdcard.org/downloads/formatter/sd-memory-card-formatter-for-windows-download/ SD Memory Card Formatter]</tvar></translate>
 
<translate>
=== Instructions === <!--T:55-->
</translate>
 
<ol>
<li><translate><!--T:7--> Insert your SD card into your computer</translate></li>
<li><translate><!--T:8--> If the SD card has any files and folders on it, copy everything to a folder on your computer</translate></li>
<li><translate><!--T:9--> Run <code>SD Card Formatter Setup</code> (the <code>.exe</code> file) in the downloaded .zip file with Administrator privileges, then install the program</translate></li>
<li><translate><!--T:10--> Run <code>SD Card Formatter</code> from the Start Menu</translate></li>
<li><translate><!--T:11--> Select your SD card’s drive letter for "Select card"</translate>{{warning|<translate nowrap><!--T:12--> Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!</translate>}}</li>
<li><translate><!--T:14--> Ensure that "Quick Format" is selected</translate></li>
<li><translate><!--T:15--> Click "Format"</translate></li>
<li><translate><!--T:16--> Click "OK"</translate></li>
<li><translate><!--T:17--> Wait for the format to finish</translate></li>
<li><translate><!--T:18--> Click "OK"</translate></li>
<li><translate><!--T:19--> Close SD Card Formatter</translate></li>
<li><translate><!--T:20--> If the SD card had any files and folders on it before the format, copy everything back from your computer</translate></li>
</ol>
</tabber>
 
==SD Card not formatting or has some other issue.==
Refer to the [[SD Clean/Windows|SD Clean]] guide.
 
{{hg imported|Guide_3DS}}


[[Category:General guides]]
[[Category:General guides]]

Revision as of 18:16, 11 April 2024

This is an add-on section for formatting an SD card to FAT32.

This page is for Windows users only. If you are not on Windows, check out the Linux or Mac pages.

Choose your SD card size

What You Need

Instructions

  1. Insert your SD card into your computer
  2. If the SD card has any files and folders on it, copy everything to a folder on your computer
  3. Run SD Card Formatter Setup (the .exe file) in the downloaded .zip file with Administrator privileges, then install the program
  4. Run SD Card Formatter from the Start Menu
  5. Select your SD card’s drive letter for "Select card"
    Warning icon Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!
  6. Ensure that "Quick Format" is selected
  7. Click "Format"
  8. Click "OK"
  9. Wait for the format to finish
  10. Click "OK"
  11. Info icon You're not done yet! Your SD card will be formatted to exFAT at this point. The following steps will format it to FAT32.
  12. Close SD Card Formatter
  13. Run guiformat.exe
  14. Select your SD card’s drive letter for "Drive"
    Warning icon Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!
  15. Select a size for "Allocation unit size"
    • If the SD card is 64GB, choose 32768
    • If the SD card is larger than 64GB, choose 65536
  16. Ensure that "Quick Format" is selected
  17. Click "Start"
  18. Click "OK"
  19. Wait for the format to finish
  20. Click "Close"
  21. If the SD card had any files and folders on it before the format, copy everything back from your computer

Common errors with guiformat

Failed to open device: GetLastError()=32

Close everything that may be using the SD card, such as any File Explorer windows. If it does not resolve the issue, try formatting the card to NTFS, then run GUIFormat again.

GetLastError()=1117

Your SD card write-protection switch may be enabled. The lock must be flipped upwards to allow writing to the SD card (including formatting).

What You Need

Instructions

  1. Insert your SD card into your computer
  2. If the SD card has any files and folders on it, copy everything to a folder on your computer
  3. Run SD Card Formatter Setup (the .exe file) in the downloaded .zip file with Administrator privileges, then install the program
  4. Run SD Card Formatter from the Start Menu
  5. Select your SD card’s drive letter for "Select card"
    Warning icon Make sure you choose the correct drive letter, otherwise you might accidentally erase the wrong drive!
  6. Ensure that "Quick Format" is selected
  7. Click "Format"
  8. Click "OK"
  9. Wait for the format to finish
  10. Click "OK"
  11. Close SD Card Formatter
  12. If the SD card had any files and folders on it before the format, copy everything back from your computer

SD Card not formatting or has some other issue.

Refer to the SD Clean guide.