bootctl
控制 EFI 固件启动设置并管理启动加载器。 另请参阅:
kernel-install。 更多信息:https://www.freedesktop.org/software/systemd/man/latest/bootctl.html。
- 显示系统固件和启动加载器的信息:
bootctl status
- 显示所有可用的启动加载器条目:
bootctl list
- 将系统固件设置为在下次启动时启动:
sudo bootctl reboot-to-firmware true
- 指定 EFI 系统分区(默认为
/efi/,/boot/或/boot/efi):
bootctl --esp-path=
- 将
systemd-boot安装到 EFI 系统分区:
sudo bootctl install
- 从 EFI 系统分区移除所有已安装的
systemd-boot版本:
sudo bootctl remove
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
