GNU GRUB: Difference between revisions

imported>Fadenb
Adds: How do I use GRUB in text mode?
imported>Fadenb
fix grub textmode instructions
Line 15: Line 15:


=== How do I use GRUB in text mode? ===
=== How do I use GRUB in text mode? ===
Sometimes you need to access GRUB in text mode (e.g. when using out of band management systems like HP ILO in "textcons" mode).


Sometimes you need to access GRUB in text mode (e.g. when using out of band management systems like HP ILO in "textcons" mode). To enable text mode you have to disable the GRUB splash screen:
To use GRUB in text mode there are two settings that need to be configured depending on whether you use EFI or BIOS boot:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
boot.loader.grub.splashImage = null;
boot.loader.grub.gfxmodeEfi= "text";
boot.loader.grub.gfxmodeBios= "text";
</syntaxhighlight>
</syntaxhighlight>
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.