安装 Fedora Silverblue

Fedora Silverblue can be installed in the same way as Fedora Workstation, and the official Fedora installation guide can be followed for your Fedora version. See the Fedora documentation site for more details.

在你开始之前

就跟安装任何新操作系统一样,在开始之前务必做好数据备份工作,并充分了解你接下来要做的事情。

Fedora Silverblue is intended to provide the full range of capabilities that you would expect from an installation of Fedora Workstation. However, there are some differences in terms of which applications can be installed, and how the operating system environment works.

所以在安装 Fedora Silverblue 前我们希望你可以认真阅读一下这份指南,考虑清楚 Fedora Silverblue 是否与你目前的需求契合。如果你对此并不确定,你可以在虚拟机先对 Fedora Silverblue 进行试用。

已知的限制条件

在某种程度上,Fedora Silverblue 并不真正支持双启动或手动分区。

双启动和手动分区确实是可以实现的,下文也提供了手动分区的指引。然而,无论是双启动还是手动分区都可能带来不可预知的后果,特别是在 Fedora Silverblue。只有做足了功课,并且确信自己能够克服可能遇到的一切问题,才应该尝试使用这些功能。

This issue is tracked in issue #284.

The keyboard layout selected during installation is not used for the LUKS unlock screen of Fedora Silverblue.

Regardless of your selection during the installation process, the keyboard layout available for the LUKS unlock screen will default to en-US (English - United States of America). You can workaround this issue by running the following command on the first boot after the installation:

$ rpm-ostree initramfs-etc --track=/etc/vconsole.conf

To avoid struggling when having to type the LUKS passphrase for the first time, you could set during installation a disk encryption passphrase that is easy to type with the en-US keyboard layout, and then change it to the passphrase that you actually want through the GNOME Disks app.

See bug #1890085 (Red Hat Bugzilla) and issue #3 (Fedora Silverblue issue tracker) for details.

获取 Fedora Silverblue

如果你在使用 Fedora Media Writer,Fedora Silverblue 应该作为一个下载选项被列出了。如果你没有看到此项,或者你希望手动下载安装介质,你可以前往 Fedora Silverblue 主站点 进行下载。

当你获取了 Fedora Silverblue 的安装介质,你就可以按照常规的方式安装 Fedora Silverblue 了,我们希望你可以爱上它!

手动分区

正如上面所说,通过手动分区的方式安装 Fedora Silverblue 有不少的已知问题,建议谨慎使用。如果你执意手动分区,下面是一些小贴士,但不是推荐做法(唯一的推荐做法是自动分区)。

安装 Fedora Silverblue,只有下面几个挂载点是可用的:

  • /boot

  • /var

  • /var 下的子目录,包括:

    • /var/home(Fedora Silverblue 将 /home 链接到了 /var/home

    • /var/log

    • /var/containers

  • 根目录:/

Fedora 安装程序并不会理会这些限制,即使你的自定义分区设定和 Fedora Silverblue 不兼容,Fedora 安装程序是不会报错的。

faw manual partition complete
Figure 1. 完成分区时的状态

以上是手动分区的典型实例,我们单独指定了 /boot/swap/var/home 分区。

在手动分区模式下,Fedora Silverblue 支持 BtrfsLVM 以及常规的 xfs 文件系统。