如何在 Linux 上安装和使用 Etcher 来制作 Linux 临场 USB
![](/data/attachment/album/202011/21/214209xor9upp7jznd9djd.jpg)



> 
> Etcher 是一款流行的 USB 烧录应用，可用于创建可启动的 Linux USB。让我来告诉你如何安装它，以及如何使用它来制作一个 Linux 临场盘。
> 
> 
> 


### Etcher：一个用于在 SD 卡和 USB 驱动器中烧录 Linux ISO 的开源工具


Etcher 是一个由 [Balena](https://www.balena.io/) 开发的开源项目，来用于为树莓派烧录 SD 卡。事实上，我们在[如何在 SD 卡上安装 Raspbian OS](https://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/) 的教程中就使用了它。


它不仅仅局限于 SD 卡，你还可以使用 Etcher 来[制作一个可启动的 USB 驱动器](https://itsfoss.com/create-bootable-ubuntu-usb-drive-mac-os/)，我们就通过它的帮助在 Linux 中制作了一个 [Manjaro 的临场 USB](https://itsfoss.com/create-live-usb-manjaro-linux/)。


自首次发布以来，Etcher 就以其整洁的界面和简单的使用方式引起了人们的注意。


![](/data/attachment/album/202011/21/215309grgvge57zmqoft7r.png)


在本文中，我将重点介绍帮助你在 Linux 上安装 Etcher 的步骤。然后，我还将展示如何使用它。在这之前，让我先给大家介绍一下它的功能。


### Etcher 的功能


* 在烧录前验证驱动器
* 漂亮的用户界面
* 自动检测 USB 驱动器/SD 卡，防止电脑上的硬盘被擦除。
* 跨平台支持（Windows、macOS 和 Linux）。
* 快速烧录
* 简单的三步过程


理论上，你已经有了在 SD 卡和 USB 驱动器上烧录操作系统镜像所需的一切。同样令人激动的是，根据他们的[路线图](https://github.com/balena-io/etcher/milestones)，他们计划增加对多个设备的同步写入支持。


### 在 Linux 上安装 Etcher


要开始使用，你需要从它的官方网站上下载它提供的 AppImage 文件（适用于任何 Linux 发行版）。


你只需要前往它的[主页](https://www.balena.io/etcher)，并根据你的系统（32 位/64 位）下载一个程序：


![](/data/attachment/album/202011/21/215328mgwhqov2ye277heo.png)


在我的例子中，我下载了 Ubuntu 的 64 位 AppImage 文件。你可以通过我们的指南来了解[在 Linux 上使用 AppImage文件](https://itsfoss.com/use-appimage-linux/)，但我会让你先知道下一步需要做什么。


你需要给文件执行权限，你可以右击**AppImage 文件 -> 属性**来实现。


![](/data/attachment/album/202011/21/215345n7tjsrsmwr88etr8.jpg)


接下来，点击权限选项卡下的“**允许作为程序执行**”，如下图所示。


![](/data/attachment/album/202011/21/215405gv41uzjto0oi6872.jpg)


现在，只需双击 AppImage 文件即可启动 Etcher!


这应该可以在任何 Linux 发行版上运行。在任何情况下，如果你想从源码构建或者直接使用 .rpm 或 .deb 文件安装，你也可以前往它的 [Github 发布页](https://github.com/balena-io/etcher/releases/tag/v1.5.109)找到 RPM、DEB 和源码。


你也可以参考我们的[在 Ubuntu 中使用 deb 文件](https://itsfoss.com/install-deb-files-ubuntu/)来安装应用。



> 
> 注意！
> 
> 
> 我们注意到，当你使用 Etcher 创建 Linux 发行版的临场 USB 时，它会使 USB 处于明显的不可使用状态，即它只有几 MB 的空闲空间，并且不能直接格式化。在 Linux 上，你可以[使用磁盘工具手动删除分区，然后格式化它](https://itsfoss.com/cant-format-usb-disk/)。
> 
> 
> 


### 在 Linux 上使用 Etcher


只需三步就可以开始使用 Etcher。在你启动它之后，根据屏幕上的提示应该是清晰的，但为了给你一个好的开始，以下是你要做的事情：


**步骤 1：** 选择合适的 ISO 镜像文件或你需要烧录的文件的 URL（如下图所示）。


![](/data/attachment/album/202011/21/215427absonqs1sy5cbyo1.jpg)


**步骤 2：** 接下来，你需要选择目标设备。它会自动检测并高亮显示可移动设备，以防止你选择任何内部存储位置。


![](/data/attachment/album/202011/21/215442jzunv2w2zpht6pwv.jpg)


在这里，我连接了一个 USB 驱动器，我也选择了它（如下图所示）。


![](/data/attachment/album/202011/21/215456yyssma3tcaft7a34.jpg)


**步骤 3：** 现在，你所有需要做的就是烧录镜像并等待它成功完成。


![](/data/attachment/album/202011/21/215507ea544eda4d4uaqea.jpg)


这是进度的样子：


![](/data/attachment/album/202011/21/215518yn0vxvu0vpn00ntp.jpg)


完成了!


![](/data/attachment/album/202011/21/215532vp2drdbd0xwx1rv0.jpg)


* [下载 balenaEtcher](https://www.balena.io/etcher)


### 总结


Etcher 是一个有用的工具，可以为 SD 卡和 USB 驱动器烧录操作系统镜像。我倾向于主要使用它来创建临场 USB 驱动器来测试 Linux 发行版，我对它很满意。


你更喜欢用什么来创建可启动驱动器？你是否已经尝试过 Etcher？请在下面的评论中告诉我你的想法。




---


via: <https://itsfoss.com/install-etcher-linux/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

## Etcher: An open source tool to flash Linux ISO on SD Cards & USB drives

Etcher is an open-source project by [Balena](https://www.balena.io/?ref=itsfoss.com) to help flash SD cards for Raspberry Pi. In fact, we used it in our tutorial on [how to install Raspbian OS on a SD Card](https://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/).

Not just limited to SD Cards, you can also use Etcher to [make a bootable USB drive](https://itsfoss.com/create-bootable-ubuntu-usb-drive-mac-os/) just like we created a [live USB of Manjaro in Linux](https://itsfoss.com/create-live-usb-manjaro-linux/) with the help of it.

Ever since its first release, Etcher caught the attention for its neat interface and simplicity of use.

![Etcher Mxlinux](https://itsfoss.com/content/images/wordpress/2020/10/etcher-mxlinux-2-800x518.png)

In this article, I will be focusing on the steps to help you install Etcher on Linux. And then, I’ll also show how to use it. Before I do that, let me give you an overview of the features it offers:

## Features of Etcher

- Validate drive before flashing
- Beautiful user interface
- Auto-detects USB drive/SD card to prevent wiping the HDD on your computer
- Cross-platform support (Windows, macOS, and Linux)
- Fast flashing
- Simple three-step process

On paper, you get everything one would need to flash OS images on an SD card and a USB drive. It is also exciting to know that they plan to add the support simultaneous writing to multiple devices as per their [roadmap](https://github.com/balena-io/etcher/milestones?ref=itsfoss.com).

## Installing Etcher on Linux

To get started, you have to grab the AppImage file that it offers (suitable for any Linux distribution) from its official website.

You just need to head on to its [homepage](https://www.balena.io/etcher?ref=itsfoss.com) and download the one for your system (32-bit/64-bit):

![Etcher Official Site Download](https://itsfoss.com/content/images/wordpress/2020/11/etcher-official-site-download.png)

In my case, I got the 64-bit AppImage file for Ubuntu. You can go through our guide on [using AppImage files on Linux](https://itsfoss.com/use-appimage-linux/), but I’ll give you a head start on what you need to do next.

You need to give the file permissions to execute and you can do that by right-clicking on the **AppImage file -> Properties**.

![Balena Etcher Permission](https://itsfoss.com/content/images/wordpress/2020/11/balena-etcher-permission.jpg)

Next, click on “**Allow executing as a program**” under the Permissions tab as shown in the image below.

![Execute Etcher AppImage](https://itsfoss.com/content/images/wordpress/2020/11/balena-etcher-execute.jpg)

Now, just double-click on the AppImage file to launch balenaEtcher!

This should work on any Linux distribution. In either case, you can also head over to its [GitHub releases se](https://github.com/balena-io/etcher/releases/tag/v1.5.109?ref=itsfoss.com)[c](https://github.com/balena-io/etcher/releases/tag/v1.5.109?ref=itsfoss.com)[tion](https://github.com/balena-io/etcher/releases/tag/v1.5.109?ref=itsfoss.com) to find RPM, DEB, and the source file if you want to build it from source or just install it using the .rpm or .deb files.

You can also refer to our guide on [using deb file in Ubuntu](https://itsfoss.com/install-deb-files-ubuntu/) to install applications.

[use the Disks tool to manually delete the partitions and then format it](https://itsfoss.com/cant-format-usb-disk/).

## Using Etcher on Linux

It is just a three-step process to get started using Etcher. It should be self-explanatory as per the on-screen instructions after you launch it, but just to give you a head start, here’s what you have to do:

**Step 1:** Select the appropriate ISO image file or the URL of the file that you need to flash (as shown in the image below).

![Balena Etcher Select](https://itsfoss.com/content/images/wordpress/2020/11/balena-etcher-select.jpg)

**Step 2**: Next, you will have to select the target device. It automatically detects and highlights removable devices to help you prevent selecting any internal storage locations.

![Etcher Select Target](https://itsfoss.com/content/images/wordpress/2020/11/etcher-select-target.jpg)

In this case, I have a USB drive connected, and I have it selected as well (as shown in the screenshot below).

![Etcher Target Device](https://itsfoss.com/content/images/wordpress/2020/11/etcher-target-device.jpg)

**Step 3:** Now, all you have to do is — flash the image and wait for it to complete successfully.

![Etcher Flash](https://itsfoss.com/content/images/wordpress/2020/11/etcher-flash.jpg)

Here’s how the progress looks:

![Etcher Flashing](https://itsfoss.com/content/images/wordpress/2020/11/etcher-flashing.jpg)

And, it is done!

![Etcher Flash Complete](https://itsfoss.com/content/images/wordpress/2020/11/etcher-flash-complete.jpg)

## Wrapping Up

Etcher is a useful tool to flash OS images for both SD cards and USB drives. I tend to use it primarily to create live USB drives to test Linux distros and I’m happy with it.

What do you prefer to use to create bootable drives? Have you tried Etcher already? Let me know your thoughts in the comments down below.