Lewati ke konten

Offered Boot Managers

Konten ini belum tersedia dalam bahasa Anda.

To offer the best experience across a range of devices, CachyOS currently offers the following boot managers: systemd-boot, rEFInd and GRUB. This wiki article will describe the feature set of each boot manager and also includes our recommendations for when choosing them. For configuration, please see Boot Manager Configuration.

Preamble: Boot Manager != Boot Loader

When talking about UEFI systems, the correct term when referring to the boot menu presented by systemd-boot, rEFInd and even GRUB is boot manager.

As a simplified explanation, a boot manager only presents boot options and hands off control of the boot process to the OS while a boot loader handles the task of loading an OS kernel into memory, often along with support files such as a Linux initial RAM disk file, and starting the kernel running.

For a more detailed explanation and the reason both terms are often used interchangeably, please see “Managing EFI Boot Loaders for Linux: Basic Principles” by Rod Smith.

systemd-boot

Part of systemd family, systemd-boot was created to be as simple as possible, therefore it only has support for UEFI based systems. This simple yet efficient design ensures it is reliable and fast. However this comes at the cost of advanced features supported by other boot managers.

Pros

  • Fastest out of the three boot managers.
  • Very simple configuration.
  • Boot entries are separated into multiple files making it easier to manage.
  • Simple yet modern design.

Cons

  • Does not support BIOS systems.
  • Lacks any kind of theming or customization.
  • Config is not auto-generated unless configured to do so. CachyOS includes systemd-boot manager to offer auto-generated configuration.
  • Only able to read boot images on EFI supported filesystems (FAT, FAT16, FAT32)
  • Inability to find boot images on partitions other than its own without manual intervention.

Recommendation

Systemd-boot is the recommended boot manager for CachyOS. Choose this one if you do not need any of the features specific to GRUB and rEFInd.

rEFInd

A fork of rEFIt, rEFInd was primarily made to make it easier for MacOS users to multi-boot. However rEFInd has evolved into being hardware agnostic making it a great choice for multi-booting on any system. The main draw of rEFInd is its ability to scan all storage devices at boot and correspondingly display entries for each OS/Kernel found.

Pros

  • Autodetection of all operating systems and kernels on storage devices.
  • Little to no configuration required due to aforementioned autodetection.
  • Easily able to support secure boot
  • Much more graphical UI reminiscent of the MacOS Boot selector.
  • Great theming support
  • CachyOS provides a different partition layout for rEFInd to further increase multi-booting compatibility with other OS such as Windows.
  • Able to read boot images from EFI filesystems (FAT,FAT16,FAT32) as well as EXT4 and BTRFS.

Cons

  • Does not support BIOS systems.
  • Slightly slower due to the autodetection feature.

Recommendation

rEFInd is the recommended boot manager for booting with multiple operating systems.

GRUB

GRUB is the oldest of the available boot managers and consequently the only one that supports BIOS booting. It has a very large feature set, works on almost every machine and is the most commonly used Linux boot manager. The following is a list of its main pros and cons.

Pros

  • Able to read boot images from almost all available Linux filesystems.
  • Widely used and very easy to find information online.
  • Able to decrypt encrypted boot partitions.
  • The only boot loader offered allowing it to boot BIOS machines.
  • Looks dated. However has great theme support to compensate.

Cons

  • Bloated due to needing to support much older hardware and needing lots of filesystem drivers.
  • Slightly slower than other boot managers due to aforementioned bloat.
  • Complicated config that needs to be regenerated every time a kernel is updated. (However this is done automatically).

Recommendation

GRUB is the only available boot manager if your machine only supports BIOS booting. It is also the only boot manager that supports boot partition encryption (Different from disk encryption). If you do not fit those criteria alternative boot managers are recommended.

TL:DR

Choose GRUB if your machine is BIOS only, pick rEFInd if you plan on having multiple operating systems on your machine (Especially Windows), otherwise go with systemd-boot.