GNU GRUB: Difference between revisions

imported>Fadenb
fix grub textmode instructions
imported>Samueldr
m Adds a mention to look at the bootloaders FAQ.
Line 3: Line 3:
== FAQ ==
== FAQ ==


=== How do I remove older generations from the bootloader? ===
→ See [[Bootloader#FAQ]] as those questions also applies to GRUB.
 
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>


=== How do I use GRUB in text mode? ===
=== How do I use GRUB in text mode? ===
Line 25: Line 16:


Only disabling the GRUB splash screen via <syntaxhighlight lang="nix" inline>boot.loader.grub.splashScreen = null;</syntaxhighlight> results in a similar output but that is not the real text only mode.
Only disabling the GRUB splash screen via <syntaxhighlight lang="nix" inline>boot.loader.grub.splashScreen = null;</syntaxhighlight> results in a similar output but that is not the real text only mode.
==