# No space left on /boot

**URL:** https://discourse.nixos.org/t/no-space-left-on-boot/24019
**Category:** Help
**Created:** [December 14, 2022, 10:17pm UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019 "2022-12-14T22:17:34Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [December 15, 2022, 8:38pm UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019/21 "2022-12-15T20:38:26Z")

</div>

It doesn’t need to get built, as its already in the store.

Though it wouldn’t needed anyway, as the activation doesn’t magically swap out the activev kernel.

It reuses the kernel of the currently running system generation and tries to apply as much as possible of the rest of the generation on top of the things it can not change.

---

<div class="post-metadata">

### Author: ![uep](https://discourse.nixos.org/user_avatar/discourse.nixos.org/uep/32/5167_2.png) [@uep](https://discourse.nixos.org/u/uep)
#### Post date: [December 15, 2022, 8:59pm UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019/22 "2022-12-15T20:59:28Z")

</div>

FWIW, there seems to be a `configurationLimit` option for other bootloaders, including grub and raspberry Pi, too. Cool.

---

<div class="post-metadata">

### Author: ![quinn-dougherty](https://discourse.nixos.org/user_avatar/discourse.nixos.org/quinn-dougherty/32/11352_2.png) [@quinn-dougherty](https://discourse.nixos.org/u/quinn-dougherty)
#### Post date: [April 25, 2025, 1:57am UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019/23 "2025-04-25T01:57:26Z")

</div>

for the record, i hit the error mentioned in OP just a week after a full `sudo nix-collect-garbage`

---

<div class="post-metadata">

### Author: ![hexa](https://discourse.nixos.org/user_avatar/discourse.nixos.org/hexa/32/1300_2.png) [@hexa](https://discourse.nixos.org/u/hexa)
#### Post date: [July 27, 2025, 6:25pm UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019/24 "2025-07-27T18:25:42Z")

</div>

3 posts were split to a new topic: [How to manage the size of the /boot partition](https://discourse.nixos.org/t/how-to-manage-the-size-of-the-boot-partition/67275)

---

<div class="post-metadata">

### Author: ![hexa](https://discourse.nixos.org/user_avatar/discourse.nixos.org/hexa/32/1300_2.png) [@hexa](https://discourse.nixos.org/u/hexa)
#### Post date: [July 27, 2025, 6:25pm UTC](https://discourse.nixos.org/t/no-space-left-on-boot/24019/25 "2025-07-27T18:25:54Z")

</div>



[Previous page](https://discourse.nixos.org/t/no-space-left-on-boot/24019.md?page=1)
