mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-22 00:40:10 +08:00
translated
This commit is contained in:
parent
f3e7d30a6c
commit
55587d534b
@ -1,75 +0,0 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (geekpi)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (A handy utility for creating Raspberry Pi SD card images)
|
||||
[#]: via: (https://opensource.com/article/20/4/raspberry-pi-imager-mac)
|
||||
[#]: author: (James Farrell https://opensource.com/users/jamesf)
|
||||
|
||||
A handy utility for creating Raspberry Pi SD card images
|
||||
======
|
||||
Getting started with Raspberry Pi Imager on a Mac.
|
||||
![Raspberries with pi symbol overlay][1]
|
||||
|
||||
There are many ways to buy a Raspberry Pi, and depending on who you buy it from, it may or may not come with an operating system already installed on it. Getting an OS onto a Raspberry Pi is a matter of "flashing" an SD card with an OS image. To make this as easy as possible, the [Raspberry Pi Foundation][2] has introduced a Raspberry Pi Imager application, and you can download it for all major platforms. Here's a quick intro to this helpful new utility.
|
||||
|
||||
### Install the Imager
|
||||
|
||||
You can find the Raspberry Pi Imager over at the usual [Raspberry Pi Downloads][3] page. Versions exist for Mac, Ubuntu, and Windows. I will download and demonstrate the Mac version.
|
||||
|
||||
Installation on Mac consists of the usual DMG image that mounts to your desktop, and then a typical installer window appears:
|
||||
|
||||
![Raspberry Pi Imager installer][4]
|
||||
|
||||
Simply drag the cute raspberry icon to the Application folder, and you are done. Invoke that from Launchpad, and you are presented with a series of simple buttons and menus to choose from. It really cannot be simpler than this:
|
||||
|
||||
![Raspberry Pi Imager home screen][5]
|
||||
|
||||
### Images and options available
|
||||
|
||||
The default options contain a variety of images for various Raspberry Pi models. Raspbian is the top choice with two available options for smaller "Lite" and fatter "Full" versions available. The LibreELEC Kodi entertainment system is available in various model-specific builds. Ubuntu 18 and 19 have 32-bit and 64-bit builds available for different Pi models. There is an RPi 4 EEPROM recovery utility and a function to format your card using FAT32. Finally, a generic image installer option is available that I will try out a little later. Pretty handy for a simple and compact utility.
|
||||
|
||||
### Install some images
|
||||
|
||||
I had a 16g micro SD card that I decided to play with. I selected the default Raspbian image, chose my attached USB/SD device, and pressed WRITE. Here is a brief demo:
|
||||
|
||||
![Raspberry Pi Imager demo][6]
|
||||
|
||||
I didn't post the entire sequence there. I believe it downloaded the image as it was writing and took a few minutes on my wireless connection to finish. The process goes through a write and then a verify cycle before it is finished. When it was done, I ejected the device, popped the card into my RPi 3, and was treated to the usual graphical Raspbian setup wizard and desktop environment.
|
||||
|
||||
That wasn't quite enough for me; I get plenty of Linux on a daily basis and was looking for a little more today. I went back to the [Raspberry Pi Downloads][3] page and pulled down the RISC OS image. This process was nearly as easy. Download the RISCOSPi.5.24.zip file, extract it, and find the ro524-1875M.img file. From the Operating System button, I selected the Use Custom option and selected the desired image file. The process was pretty much the same; the only real difference being I had to hunt around my Downloads directory and select an image. Once the file was finished writing, back into the Pi 3, and RISC OS was ready to go.
|
||||
|
||||
### Gripes on USB C
|
||||
|
||||
This is just a silly aside, but how many of you are a bit frustrated with the total inconvenience of USB C these days? I'm using a MacBook Pro, which only has USB C ports, and I am subject to a never-ending swap of adapters to get things done. Take a look at this:
|
||||
|
||||
![USB C adapter][7]
|
||||
|
||||
Yes, that is a USB C to USB A adapter, then a USB to SD card reader, and an SD to micro SD adapter inside. I probably could have found something online to simplify this, but these are the parts I had on hand to support my family's myriad Mac, Windows, and Linux hosts. Enough about that, but I hope you got a chuckle from that insanity.
|
||||
|
||||
### Summary
|
||||
|
||||
The new Raspberry Pi Imager is a simple and effective tool for getting off the ground quickly with Raspberry Pi images. [BalenaEtcher][8] is a similar tool for imaging your removable devices, but this new Raspberry Pi Imager makes the process of common RPi OS installations (like Raspbian) a bit easier by eliminating the steps to fetch those common images.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/20/4/raspberry-pi-imager-mac
|
||||
|
||||
作者:[James Farrell][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/jamesf
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/life-raspberrypi_0.png?itok=Kczz87J2 (Raspberries with pi symbol overlay)
|
||||
[2]: https://www.raspberrypi.org/
|
||||
[3]: https://www.raspberrypi.org/downloads/
|
||||
[4]: https://opensource.com/sites/default/files/uploads/install_1.png (Raspberry Pi Imager installer)
|
||||
[5]: https://opensource.com/sites/default/files/uploads/screen_2_0.png (Raspberry Pi Imager home screen)
|
||||
[6]: https://opensource.com/sites/default/files/uploads/demo_3.gif (Raspberry Pi Imager demo)
|
||||
[7]: https://opensource.com/sites/default/files/uploads/adapter_4.png (USB C adapter)
|
||||
[8]: https://www.balena.io/etcher/
|
@ -0,0 +1,75 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (geekpi)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (A handy utility for creating Raspberry Pi SD card images)
|
||||
[#]: via: (https://opensource.com/article/20/4/raspberry-pi-imager-mac)
|
||||
[#]: author: (James Farrell https://opensource.com/users/jamesf)
|
||||
|
||||
一个方便的用于创建树莓派 SD 卡镜像的程序
|
||||
======
|
||||
开始在 Mac 上使用 Raspberry Pi Imager
|
||||
![Raspberries with pi symbol overlay][1]
|
||||
|
||||
有多种购买树莓派的方法,同时树莓派会取决于你从哪里购买的从而可能附带或不附带操作系统。将操作系统安装到树莓派上就是用系统镜像“刷新” SD 卡。为了使之尽可能简单,[树莓派基金会][2]引入了 Raspberry Pi Imager,你可以将其下载到所有主流平台。以下这个有用的新工具介绍。
|
||||
|
||||
### 安装 Imager
|
||||
|
||||
你通常可以在[树莓派下载][3]页面上找到 Raspberry Pi Imager。它有 Mac、Ubuntu 和 Windows 版本。我将下载并演示 Mac 版本。
|
||||
|
||||
Mac 的安装包是常规的 DMG 镜像,它会挂载到你的桌面,然后经典的安装界面就会出现:
|
||||
|
||||
![Raspberry Pi Imager installer][4]
|
||||
|
||||
只需将可爱的树莓图标拖到 Application 文件夹,就可以完成。从 Launchpad 中调用它,你会看到一系列简单的按钮和菜单供你选择。真的不能比这更简单了:
|
||||
|
||||
![Raspberry Pi Imager home screen][5]
|
||||
|
||||
### 可用的镜像和选项
|
||||
|
||||
默认选项包含各种树莓派型号的镜像。Raspbian 是首选,它有两个可用的选项,较小的 “Lite” 版本和较大的 “Full” 版本。LibreELEC Kodi 娱乐系统有各种特定于型号的版本。Ubuntu 18 和 19 有适用于不同树莓派型号的 32 位和 64 位版本。有一个 RPi 4 EEPROM 恢复程序,以及使用 FAT32 格式化卡的功能。最后,有一个通用的镜像安装程序选项,稍后我将进行尝试。这个简单而紧凑的程序非常方便。
|
||||
|
||||
### 安装一些镜像
|
||||
|
||||
我决定使用 16g 的 micro SD 卡。我选择了默认的 Raspbian 镜像,选择已连接的 USB/SD 设备,然后按下 WRITE。这是一个简短的演示:
|
||||
|
||||
![Raspberry Pi Imager demo][6]
|
||||
|
||||
我没有在此处发布完整信息。我相信它在下载镜像后写入,对于我的无线连接这花费了几分钟完成。该过程在完成之前先经过写入,然后经过验证周期。完成后,我弹出设备,并将卡插入到我的 RPi 3 中,然后按照通常的图形 Raspbian 安装向导和桌面环境进行设置。
|
||||
|
||||
这对我来说还不够。我每天都会下载许多 Linux,今天我还在寻找更多。我回到了[树莓派下载][3]页面,并下载了 RISC OS 镜像。这个过程几乎一样容易。下载 RISCOSPi.5.24.zip 文件,将其解压缩,然后找到 ro524-1875M.img 文件。在 “Operating System” 按钮中,我选择了 “Use Custom” 并选择了所需的镜像文件。这个过程几乎是相同的。唯一真正的区别是我必须在下载目录中搜寻并选择一个镜像。文件写完后,回到树莓派 3,RISC OS 可以使用了。
|
||||
|
||||
### 对 USB C 的抱怨
|
||||
|
||||
顺便说一句,如今有多少人对 USB C 带来的不便感到沮丧?我使用的是只有 USB C 口的 MacBook Pro,我需要不断更换适配器才能完成工作。看看这个:
|
||||
|
||||
![USB C adapter][7]
|
||||
|
||||
是的,那是一个 USB C 到 USB A 适配器,然后是一个 USB 到 SD 卡读卡器,以及一个 SD 到 micro SD 适配器。我可能可以在网上找到一些东西来简化此过程,但这是支持我家五花八门的 Mac、Windows 和 Linux 主机的部分。够了,但我希望你能从这种混乱中得到一笑。
|
||||
|
||||
### 总结
|
||||
|
||||
新的 Raspberry Pi Imager 是一种简单有效的工具来快速烧录树莓派镜像。[BalenaEtcher][8] 是用于对可移动设备进行烧录的类似工具,但是新的 Raspberry Pi Imager 通过消除获取那些常见镜像的步骤,使普通树莓派系统安装(如 Raspbian)更加容易。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/20/4/raspberry-pi-imager-mac
|
||||
|
||||
作者:[James Farrell][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/jamesf
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/life-raspberrypi_0.png?itok=Kczz87J2 (Raspberries with pi symbol overlay)
|
||||
[2]: https://www.raspberrypi.org/
|
||||
[3]: https://www.raspberrypi.org/downloads/
|
||||
[4]: https://opensource.com/sites/default/files/uploads/install_1.png (Raspberry Pi Imager installer)
|
||||
[5]: https://opensource.com/sites/default/files/uploads/screen_2_0.png (Raspberry Pi Imager home screen)
|
||||
[6]: https://opensource.com/sites/default/files/uploads/demo_3.gif (Raspberry Pi Imager demo)
|
||||
[7]: https://opensource.com/sites/default/files/uploads/adapter_4.png (USB C adapter)
|
||||
[8]: https://www.balena.io/etcher/
|
Loading…
Reference in New Issue
Block a user