Bootloader: Difference between revisions

copy from old wiki
imported from old wiki
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{expansion|Explain what the bootloader does and which bootloader exists. Also explain Legacy Boot vs. UEFI and bootloaders for ARM platforms (with links)}}
== FAQ ==


== FAQ ==
=== What is a bootloader? ===
 
A bootloader is a type of software that manages the loading of the operating system (OS) on the computer at startup. It is responsible for preparing the system before passing control to the OS. Here are the types of bootloaders commonly used in NixOS:
* '''GRUB (Grand Unified Bootloader)''': Widely used, supports multiple operating systems, and provides a boot menu to select how the system boots.
* '''systemd-boot''': Simple UEFI-only bootloader, formerly known as gummiboot.
* '''EFISTUB''': Utilizes the UEFI firmware itself to boot the kernel, without the need for a traditional bootloader.
 
=== Legacy Boot vs UEFI ===
 
Legacy Boot and UEFI are two different methods of starting a computer. Legacy Boot, also known as BIOS, uses the Master Boot Record (MBR) to start the system, while UEFI (Unified Extensible Firmware Interface) uses the GUID Partition Table (GPT) and is the modern standard. UEFI supports larger hard drives, faster boot times, and more security features compared to Legacy Boot. Additionally, UEFI provides a better user interface and a more robust pre-boot environment.
 
=== Bootloaders for ARM platforms ===
 
On ARM platforms, the bootloader options can vary significantly based on the architecture and specific hardware. Common bootloaders include:
* '''U-Boot''': Universal Boot Loader, widely used in ARM devices.
* '''EFI ARM bootloaders''': Some ARM devices support UEFI, allowing the use of standard UEFI bootloaders like GRUB or systemd-boot.
 
For more detailed information on NixOS and ARM architecture, refer to the [https://nixos.wiki/wiki/NixOS_on_ARM NixOS on ARM] docs.


=== Am I booted in Legacy or UEFI? ===
=== Am I booted in Legacy or UEFI? ===
Line 188: Line 205:


If you have some problems with installation, report them on [https://matrix.to/#/#nix:nixos.org #nix:nixos.org on Matrix].
If you have some problems with installation, report them on [https://matrix.to/#/#nix:nixos.org #nix:nixos.org on Matrix].
[[Category:Booting]]