Boot loaders (简体中文)
启动加载器是 BIOS 或 UEFI 启动的第一个程序。负责使用正确的内核加载设备模块, 并启动初始 RMA,开始 启动过程。Arch Linux 支持 不同的 Bootloader。
Contents
适用于 BIOS 和 UEFI 的启动加载器
GRUB
GRUB 功能丰富,支持复杂场景。配置文件和 'sh' 脚本语言很类似,可以自动生成。也是Linux平台下最常用的启动加载器。
Syslinux
Syslinux目前仅能从安装分区加载文件,配置文件示例位于 Syslinux#Examples。Syslinux主要用于Linux光盘的安装程序。
仅支持 UEFI 的启动加载器
Linux Kernel EFISTUB
Linux 内核可以直接被 EFI 内嵌加载器加载,参阅 EFISTUB。
systemd-boot
systemd 包含了一个 EFI 启动加载器,提供了一个可以启动 EFISTUB 内核的文本菜单。参阅 systemd-boot。
rEFInd
rEFInd 是一个 UEFI 启动管理器,提供了一个可以启动 EFISTUB 内核的图形菜单。参阅 rEFInd。
Clover
Clover 是一个 UEFI 启动管理器,提供了一个可以启动 EFISTUB 内核的原生分辨率的图形菜单。参阅 Clover。
ELILO
。
ELILO 是只支持 BIOS LILO 的 UEFI 版本。它的配置文件 elilo.conf
与 LILO 的配置文件相似。由上游编译好的二进制文件在此 http://sourceforge.net/projects/elilo/,和 AUR 里的 elilo-efiAUR[broken link: package not found]。
BIOS-only Boot Loaders
GRUB Legacy
GRUB Legacy (也称之为 grub-0.97), is the legacy, BIOS-only branch of GRUB. See GRUB Legacy. 旧的GRUB 0.x被称为GRUB Legacy或GRUB1,新的GRUB2则经过了重写和大革新。
LILO
See LILO.
功能比较
Name | Firmware | Multi-boot | File systems | Notes | |||||
---|---|---|---|---|---|---|---|---|---|
BIOS | UEFI | Btrfs | ext4 | ReiserFS v3 | VFAT | XFS | |||
GRUB | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | On BIOS/GPT configuration requires a BIOS boot partition. |
systemd-boot | No | Yes | Yes | No | No | No | Yes | No | Cannot launch binaries from partitions other than ESP. |
Syslinux | Yes | Partial | Partial | without: multi-device volumes, compression, encryption | without: 64bit feature, encryption |
No | Yes | v4 on MBR only | No support for certain file system features [2] |
EFISTUB | No | Yes | N/A | N/A | N/A | N/A | N/A | N/A | |
rEFInd | No | Yes | Yes | without encryption | without encryption | without tail-packing feature | Yes | No | |
Clover | emulates UEFI | Yes | Yes | No | Unknown | No | Yes | No | Main target audience is Hackintosh users. |
LILO | Yes | No | Unknown | Unknown | Unknown | Unknown | Unknown | MBR only [3] | Deprecated. Does not support GUID Partition Table. |
GRUB Legacy | Yes | No | Yes | No | No | Yes | Yes | v4 only | Deprecated. Does not support GUID Partition Table. |