--- title: "F3 (Linux)" --- {% include toc title="Table of Contents" %} ### Required Reading 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)) 页面。 ### What You Need * The latest version of [F3](https://github.com/AltraMayor/f3/releases/latest) ### Instructions 1. 将 f3.zip 文件解压 1. cd 到 f3 目录 1. 运行 `make` 命令以编译 F3 1. 将你的 SD 卡插入到您的计算机 1. 挂载您的 SD 卡 1. 运行 `./ f3write ` 1. 等待,直到该过程已完成。 有关详情,请参阅下面的示例输出。 ~~~ 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 ~~~ 1. 运行 `./ f3write ` 1. Wait until the process is complete. See below for an example output. ~~~ 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 ~~~ ___ 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} ### Return to [Get Started](get-started) {: .notice--primary}