2017-01-16 15:31:21 +01:00
|
|
|
|
---
|
|
|
|
|
title: "F3 (Linux)" #
|
2017-01-18 04:33:58 +01:00
|
|
|
|
lang: zh_CN
|
2017-01-18 20:59:32 +01:00
|
|
|
|
permalink: /zh_CN/f3-(linux).html
|
2017-01-16 15:31:21 +01:00
|
|
|
|
---
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
本节将引领你使用 F3 来检查你的 SD 卡的错误。
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice}
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
取决于你的 SD 卡的容量大小和电脑的速度,这个过程可能耗时达几个小时!
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice--info}
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
本节教程仅限Linux用户。 如果你不是 Linux 用户,请查阅 [H2testw (windows)](h2testw-(windows)) 或 [F3X (mac)](f3x-(mac)) 页面。
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice--info}
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
#### 你需要
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
* 最新版的 [F3 应用](https://github.com/AltraMayor/f3/archive/v6.0.zip)
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
#### 做操指南
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
1. 将 f3.zip 文件解压
|
2017-03-30 22:18:13 +02:00
|
|
|
|
1. cd 到 f3 目录
|
|
|
|
|
1. 运行 `make` 命令以编译 F3
|
|
|
|
|
1. 将你的 SD 卡插入到您的计算机
|
|
|
|
|
1. 挂载您的 SD 卡
|
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. 等待,直到该过程已完成。 有关详情,请参阅下面的示例输出。
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
|
|
|
|
$ ./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-03-30 22:18:13 +02:00
|
|
|
|
1. 运行 `./ f3write <your sd card mount point>`
|
|
|
|
|
1. Wait until the process is complete. See below for an example output.
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
|
|
|
|
$ ./f3read /media/michel/6135-3363/
|
|
|
|
|
SECTORS ok/corrupted/changed/overwritten
|
2017-01-18 04:33:58 +01:00
|
|
|
|
Validating file 1.h2w ... 2097152/ 0/ 0/ 0
|
2017-01-16 15:31:21 +01:00
|
|
|
|
...
|
2017-01-18 04:33:58 +01:00
|
|
|
|
Validating file 30.h2w ... 1491904/ 0/ 0/ 0
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
|
|
|
|
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-02-12 18:57:12 +01:00
|
|
|
|
___
|
2017-01-16 15:31:21 +01:00
|
|
|
|
|
2017-03-30 22:18:13 +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
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice--success}
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
如果测试显示任何其他结果,您的 SD 卡可能已经出错或损坏,您可能需要更换它 !
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice--danger}
|
|
|
|
|
|
2017-01-18 04:33:58 +01:00
|
|
|
|
返回 [开始](get-started)
|
2017-01-16 15:31:21 +01:00
|
|
|
|
{: .notice--primary}
|