2017-05-21 20:39:40 +00:00
|
|
|
---
|
2017-05-23 18:02:51 +00:00
|
|
|
title: "F3 (Linux)"
|
2017-05-21 20:39:40 +00:00
|
|
|
---
|
|
|
|
|
2017-10-04 21:02:20 +00:00
|
|
|
{% include toc title="Table of Contents" %}
|
|
|
|
|
|
|
|
### Required Reading
|
|
|
|
|
2017-05-21 20:39:40 +00:00
|
|
|
This is an add-on section for checking your SD card for errors using F3.
|
|
|
|
|
|
|
|
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 Linux, check out the [H2testw (windows)](h2testw-(windows)) or [F3X (mac)](f3x-(mac)) pages.
|
|
|
|
|
2018-02-18 15:47:39 +00:00
|
|
|
### What You Need
|
2017-05-21 20:39:40 +00:00
|
|
|
|
2018-06-15 01:10:54 +00:00
|
|
|
* The latest version of [F3](https://github.com/AltraMayor/f3/releases/latest)
|
2017-05-21 20:39:40 +00:00
|
|
|
|
2017-09-29 11:29:26 +00:00
|
|
|
### Instructions
|
2017-05-21 20:39:40 +00:00
|
|
|
|
|
|
|
1. Unzip the f3 `.zip` file
|
|
|
|
1. `cd` into the f3 directory
|
|
|
|
1. Run `make` to compile F3
|
|
|
|
1. Insert your SD card into your computer
|
|
|
|
1. Mount your SD card
|
|
|
|
1. Run `./f3write <your sd card mount point>`
|
|
|
|
1. Wait until the process is complete. See below for an example output.
|
|
|
|
|
2018-02-18 15:47:39 +00:00
|
|
|
~~~ bash
|
|
|
|
$ ./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
|
|
|
|
~~~
|
2017-05-21 20:39:40 +00:00
|
|
|
|
|
|
|
1. Run `./f3read <your sd card mount point>`
|
|
|
|
1. Wait until the process is complete. See below for an example output.
|
|
|
|
|
2018-02-18 15:47:39 +00:00
|
|
|
~~~ bash
|
|
|
|
$ ./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
|
|
|
|
~~~
|
2017-05-21 20:39:40 +00:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
If the test shows the result `Data LOST: 0.00 Byte (0 sectors)` your SD card is good and you can delete all `.h2w` files on your SD card
|
|
|
|
{: .notice--success}
|
|
|
|
|
|
|
|
If the test shows any other results, your SD card may be corrupted or damaged and you may have to replace it!
|
|
|
|
{: .notice--danger}
|
|
|
|
|
2017-09-29 11:29:26 +00:00
|
|
|
### Return to [Get Started](get-started)
|
2017-09-04 04:15:19 +00:00
|
|
|
{: .notice--primary}
|