Zum Inhalt springen

Offered Boot managers

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

CachyOS Boot managers

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 featuresets of each boot manager and also includes our recommendations for when choosing them.

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.

Configuration

The main command line tool for sd-boot is sdboot-manage The configuration file for changing kernel parameters and other options is located at /etc/sdboot-manage.conf Boot entries are located in /boot/loader/entries/

Partitioning layout

  • Minimum 1GB (2GB recommended) FAT32 EFI boot partition (/boot)
  • Minimum 5.5GB user selected root filesystem (/)

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 primarly 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 reminescent 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.

Configuration

The main command line tool for rEFInd is refind-install. Kernel parameters are provided by a file called refind_linux.conf which is located next to the kernels. (Usually /boot) rEFInd’s primary configuration file is normally located at /boot/efi/refind/refind.conf

Partitioning Layout

  • Minimum 50MB FAT32 EFI partition (/boot/efi)
  • Minimum 1GB (2GB recommended) ext4 boot partition (/boot)
  • Minimum 5.5GB user selected root filesystem (/)

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 featureset, 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 bootloader 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.)

Configuration

The main command line tool for grub is grub-mkconfig. Grub’s main configuration file is normally located at /boot/grub/grub.cfg

Partitioning layout

BIOS

  • Minimum 6.5GB user selected root filesystem (/)

UEFI

  • Minimum 50MB EFI partition (/boot/efi)
  • Minimum 6.5GB user selected root filesystem (/)

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.