RetroFed Forums
Your home away from modern life.
Old kernels not deleted; full /boot partition
Post Reply
AuthorMessage
nettie lemmy.world nettie@lemmy.world
Joined: 2025-01-18
Quote

I installed debian for a friend who is not techy. They've been accepting the updates as and when offered. Now their /boot is full. I'm assuming they need to run

apt autoremove --purge

Or similar. But is there a way you automate this? Otherwise debian with a boot partition seems to have a self destruct timer!

Advice appreciated!

9   Original
Pomal sh.itjust.works Pomal@sh.itjust.works
Joined: 2026-08-03
#2 · Quote Reply

Would rec moving them to something more simple, akin to ElementaryOS.

That said, /boot likely isn’t right sized for the number of versions of the kernel required by the bootloader in case of a failure. 512mb-1gb of storage is normally more than enough to handle said copies. As well, apt dist-upgrade will actually remove obsolete packages while apt upgrade does not.

2
JRaccoon discuss.tchncs.de JRaccoon@discuss.tchncs.de
Joined: 2023-06-20
#3 · Quote Reply

This is one of the reasons why I don't use a separate partition for /boot anymore. As I understand it, a separate /boot partition is mostly a legacy thing unless you have an encrypted root partition or some other special setup. For simple cases I recommend having /boot on the root partition to avoid issues like this.

I think that's also the default setup used by the Debian installer if you select Guided partitioning – use entire disk. I'm not 100% sure tho.

3
CallMeAl (like Alan) piefed.zip CallMeAl@piefed.zip
Joined: 2025-12-14
#4 · Quote Reply

apt full-upgrade takes care of this

3
nettie lemmy.world nettie@lemmy.world
Joined: 2025-01-18
#5 · (edited) Quote Reply

Would rec moving them to something more simple, akin to ElementaryOS. That said, /boot likely isn’t right sized for the number of versions of the kernel required by the bootloader in case of a failure. 512mb-1gb of storage is normally more than enough to handle said copies. As well, apt dist-upgrade will actually remove obsolete packages while apt upgrade does not.

They're using the automated updates. I guess that's not doing the apt full-upgrade or dist-upgrade ...

I allocated 1GB for boot. I'm using separate boot to have encrypted root.

1
Pomal sh.itjust.works Pomal@sh.itjust.works
Joined: 2026-08-03
#6 · (edited) Quote Reply

They're using the automated updates. I guess that's not doing the apt full-upgrade or dist-upgrade ... I allocated 1GB for boot. I'm using separate boot to have encrypted root.

Full and dist are two separate actions. I would highly recommend you pop the man page for apt.

2
Post Reply
Back to top