Bootloader: Difference between revisions

imported>Samueldr
Adds two common troubleshooting steps
 
imported>Samueldr
m Moves a generic FAQ entry from GRUB to here.
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)}}
{{expansion|Explain what the bootloader does and which bootloader exists. Also explain Legacy Boot vs. UEFI and bootloaders for ARM platforms (with links)}}
== FAQ ==
=== How do I remove older generations from the bootloader? ===
First, collect garbages in your system, then rebuild. The scripts will collect leftover files.
The first command, in the example below, removes everything older than 14 days.
<syntaxhighlight lang="commands">
sudo nix-collect-garbage --delete-older-than 14d
sudo nixos-rebuild boot
</syntaxhighlight>


== Troubleshooting ==
== Troubleshooting ==