Checking SD card integrity/Linux: Difference between revisions
From Hacks Guide Wiki
More actions
use github template |
StarlitSkies (talk | contribs) move backup and format of the SD card to the actual instructions |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 3: | Line 3: | ||
Depending on the size of your SD card and the speed of your computer, this process can take up to several hours! | Depending on the size of your SD card and the speed of your computer, this process can take up to several hours! | ||
This page is for Linux users only. If you are not on | 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. | ||
== What You Need == | == What You Need == | ||
| Line 9: | Line 9: | ||
== Instructions == | == Instructions == | ||
# Insert your SD card into your computer | # Insert your SD card into your computer | ||
# Mount your SD card | # Mount your SD card | ||
# Create a new folder on your desktop, which will be referred to as the backup folder from now on | |||
# Copy everything from your SD card to the backup folder | |||
# [[Formatting_an_SD_card/Linux|Format the SD card]] | |||
# Extract the F3 <code>.zip</code> file | |||
# Open a terminal window and <code>cd</code> into the F3 directory | |||
# Run <code>make</code> to compile F3 | |||
# Run <code>./f3write <your SD card mount point></code> | # Run <code>./f3write <your SD card mount point></code> | ||
# Wait until the process is complete. See below for an example output. | # Wait until the process is complete. See below for an example output. | ||
| Line 38: | Line 41: | ||
Average Reading speed: 9.42 MB/s | 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.}} | {{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 and then copy the contents of the backup folder back to it.}} | ||
{{critical|text=If the test shows any other results, your SD card is failing. You will have to replace it!}} | {{critical|text=If the test shows any other results, your SD card is failing. You will have to replace it!}} | ||
[[Category:General guides]] | |||