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
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
This is an add-on section for checking your SD card for errors using F3.
|
|
|
|
|
{: .notice--info}
|
|
|
|
|
|
|
|
|
|
取决于你的 SD 卡的容量大小和电脑的速度,这个过程可能耗时达几个小时!
|
|
|
|
|
{: .notice--info}
|
|
|
|
|
|
|
|
|
|
本节教程仅限Linux用户。 如果你不是 Linux 用户,请查阅 [H2testw (windows)](h2testw-(windows)) 或 [F3X (mac)](f3x-(mac)) 页面。
|
|
|
|
|
{: .notice--info}
|
|
|
|
|
|
|
|
|
|
#### 你需要
|
|
|
|
|
|
|
|
|
|
* 最新版的 [F3 应用](https://github.com/AltraMayor/f3/archive/v6.0.zip)
|
|
|
|
|
|
|
|
|
|
#### 做操指南
|
|
|
|
|
|
|
|
|
|
1. 将 f3.zip 文件解压
|
|
|
|
|
1. cd 到 f3 目录
|
|
|
|
|
1. 运行 `make` 命令以编译 F3
|
|
|
|
|
1. 将你的 SD 卡插入到您的计算机
|
|
|
|
|
1. 挂载您的 SD 卡
|
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. 等待,直到该过程已完成。 有关详情,请参阅下面的示例输出。
|
|
|
|
|
|
|
|
|
|
$ ./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
|
|
|
|
|
|
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. 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
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
返回 [开始](get-started)
|
|
|
|
|
{: .notice--primary}
|