2017-05-21 22:39:40 +02:00
|
|
|
|
---
|
2017-05-23 20:02:51 +02:00
|
|
|
|
title: "F3 (Linux)"
|
2017-05-21 22:39:40 +02:00
|
|
|
|
---
|
|
|
|
|
|
2017-10-04 23:02:20 +02:00
|
|
|
|
{% include toc title="Table of Contents" %}
|
|
|
|
|
|
|
|
|
|
### Required Reading
|
|
|
|
|
|
2017-05-21 22:39:40 +02:00
|
|
|
|
This is an add-on section for checking your SD card for errors using F3.
|
|
|
|
|
|
|
|
|
|
取决于你的 SD 卡的容量大小和电脑的速度,这个过程可能耗时达几个小时!
|
|
|
|
|
|
|
|
|
|
本节教程仅限Linux用户。 如果你不是 Linux 用户,请查阅 [H2testw (windows)](h2testw-(windows)) 或 [F3X (mac)](f3x-(mac)) 页面。
|
|
|
|
|
|
2018-02-18 16:47:39 +01:00
|
|
|
|
### What You Need
|
2017-05-21 22:39:40 +02:00
|
|
|
|
|
2018-06-22 05:54:26 +02:00
|
|
|
|
* The latest version of [F3](https://github.com/AltraMayor/f3/releases/latest)
|
2017-05-21 22:39:40 +02:00
|
|
|
|
|
2017-09-29 13:29:26 +02:00
|
|
|
|
### Instructions
|
2017-05-21 22:39:40 +02:00
|
|
|
|
|
|
|
|
|
1. 将 f3.zip 文件解压
|
|
|
|
|
1. cd 到 f3 目录
|
|
|
|
|
1. 运行 `make` 命令以编译 F3
|
|
|
|
|
1. 将你的 SD 卡插入到您的计算机
|
|
|
|
|
1. 挂载您的 SD 卡
|
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. 等待,直到该过程已完成。 有关详情,请参阅下面的示例输出。
|
|
|
|
|
|
2018-02-18 16:47:39 +01: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 22:39:40 +02:00
|
|
|
|
|
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. Wait until the process is complete. See below for an example output.
|
|
|
|
|
|
2018-02-18 16:47:39 +01: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 22:39:40 +02: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}
|
|
|
|
|
|
|
|
|
|
如果测试显示任何其他结果,您的 SD 卡可能已经出错或损坏,您可能需要更换它 !
|
|
|
|
|
{: .notice--danger}
|
|
|
|
|
|
2017-09-29 13:29:26 +02:00
|
|
|
|
### Return to [Get Started](get-started)
|
2017-09-04 06:15:19 +02:00
|
|
|
|
{: .notice--primary}
|