GNU GRUB: Difference between revisions

AP767 (talk | contribs)
Added Usage section, and a definition of what GNU GRUB is.
m Missing efi attribute for boot.loader.efi.canTouchEfiVariables
Tags: Mobile edit Mobile web edit Visual edit
 
(One intermediate revision by one other user not shown)
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;
  };
   efi.canTouchEfiVariables = true;
};
};
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}