-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/boot does not get cleanup up #262
Comments
Try running Did you also delete old generations using |
I have the same issue. I've ran nix-garbage-collect, but now I need to run something like 'nixos-rebuild boot` to clean up the actual boot files. How can I do that, given that there's no source flake on the machine? (or is one there?) |
Looks like you can rebuild boot by running |
You can delete the old profiles, once you do that garbage collection will work and delete boot files. @nullie |
@nullie NixOS deployment with deploy-rs basically works by using |
Yes, but when your /boot is already full, activation of new generation first tries to copy new kernel and initrd into /boot, and that fails. But when you run So I've posted this as a solution for those who get their
|
After using
deploy-rs
for a while and not collecting garbage I can't update anymore because /boot is full. Also collecting garbage and rebooting and then runningdeploy-rs
again it still does not get cleaned up. They just get readded and it fails.OSError: [Errno 28] No space left on device: '/nix/store/g54jjlqj05gwdn4z9n0c06r9dzdc01q6-initrd-linux-6.6.19/initrd' -> '/boot/EFI/nixos/g54jjlqj05gwdn4z9n0c06r9dzdc01q6-initrd-linux-6.6.19-initrd.efi'
The text was updated successfully, but these errors were encountered: