GNU GRUB: Difference between revisions
imported>Samueldr Inits with answer to a frequently asked question |
imported>Samueldr |
(No difference)
|
Revision as of 22:01, 6 December 2017
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.
$ sudo nix-collect-garbage --delete-older-than 14d
$ sudo nixos-rebuild boot