Bootloader: Difference between revisions
imported>Sashanoraa m Add that systemd-boot has this option as well |
imported>Niscolas No edit summary |
||
Line 27: | Line 27: | ||
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>. | 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>. | ||
=== Why I still boot into systemd-boot after switching to grub in my configuration? === | |||
Make sure to check if in your boot order, '''NixOS-bootloader''' is the default / first option. | |||
=== Keeping kernels/initrd on the main partition === | === Keeping kernels/initrd on the main partition === |