Bootloader: Difference between revisions
imported>Scvalex Mention nixos-enter as the easier way of entering an installed system from installation media, and expand the tips. |
imported>Sashanoraa m Add that systemd-boot has this option as well |
||
Line 24: | Line 24: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Limiting amount of entries with grub === | === Limiting amount of entries with grub or systemd-boot === | ||
The grub | The grub and systemd-boot modules has an option to limit the number of configurations made available in the boot partition, {{nixos:option|boot.loader.grub.configurationLimit}} or {{nixos:option|boot.loader.systemd-boot.configurationLimit}}. Setting this to a lower amount than the default may help reduce the occasions where too many different kernels and initrds are added to the <tt>/boot</tt> partition or <tt>ESP</tt>. | ||
=== Keeping kernels/initrd on the main partition === | === Keeping kernels/initrd on the main partition === |