GNU GRUB: Difference between revisions
Added Usage section, and a definition of what GNU GRUB is. |
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 | {{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 | boot.loader = { | ||
grub = { | |||
enable = 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}} | ||