GNU GRUB: Difference between revisions

AP767 (talk | contribs)
Added Usage section, and a definition of what GNU GRUB is.
AP767 (talk | contribs)
Fixed major description error labeling GNU as a non-UEFI bootloader, a description that could have caused major misunderstanding.
Line 1: Line 1:
{{expansion}}[https://www.gnu.org/software/grub/ GNU GRUB] , also known as the Grand Unified Bootlader, is a multiboot bootloader created and maintained by GNU. It is a non UEFI alternative to systemd-boot.  
{{expansion}}[https://www.gnu.org/software/grub/ GNU GRUB] , also known as the Grand Unified Bootlader, is a multiboot bootloader created and maintained by GNU. It is a versatile alternative to systemd-boot that supports both UEFI and Legacy BIOS.  


== Usage ==
== Usage ==
To install and enable GRUB on UEFI systems, add this to your system configuration:
To install and enable GRUB on UEFI systems, add this to your system configuration:
{{File|3=<nowiki>
{{File|3=<nowiki>
boot.loader.grub = {
boot.loader = {
  enable = true;
  grub = {
  device = "nodev"; # "nodev" is used for UEFI
    enable = true;
   efiSupport = true;
    device = "nodev"; # "nodev" is used for UEFI
    efiSupport = true;
   };
  canTouchEfiVariables = true;
};
};
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}