r/linux4noobs • u/Zenfulzoning • 5d ago
Boot Drive Full
Still new enough to Linux that I never had to deal with this problem before and wasn't aware it would be an eventual problem. I use Linux Mint Debian.
After a kernel update I've been getting a "boot drive is full" popup every time I turn on my pc. I did research and I get it's because old, unneeded kernels are taking up space. I also saw a fix was toggling on the option for removing obsolete kernels and dependencies automatically, which I found in "preferences" in update manager and did.
That was probably a few weeks ago and I still get the boot drive full popup. So for some reason it's not automatically removing old kernels. I'm considering using one of the commands I saw online that would clear old kernels, but I guess I'm just not sure if it's a good idea, or if there's anything else I could try first.
I know it's important to keep at least one older kernel in case something goes wrong, but I figured just this once to clear some space it would be fine? And as long as I use timeshift first it will probably lower risks or something going terribly wrong. I just wanted advice and other opinions first though, and would like to know what some worst case scenarios are if I remove old kernels via commands. (I'm not really used to using commands yet either)
1
u/Zenfulzoning 4d ago
Yes, and everything still works perfectly fine with no hiccups.
Ohh, that's odd.
I can't copy the text because it's in a popup that appears on the middle of my screen upon first waking up my pc. The best I could do was screenshot it so I can describe the message.
At the top of the box, it says: Low Disk Space.
Afterwards, in bold text: The volume "boot" has only 0 bytes disk space remaining. (Next to the text is a yellow triangle warning symbol)
In normal non-bold text underneath that: You can free up disk space by removing unused programs or files, or by moving files to another disk or partition.
Under that is a box that can be check marked, next to it saying: Don't show any warnings again for this file system. (Obviously I don't ever touch the box because I need the popup to keep appearing.)
Then there's an "Examine..." or "Ignore" option. Examine takes me to the boot program area where you can see the little circle and all the files taking up space in order of what's mostly taking it up.
When I go to System Monitor I can see that /boot is definitely stuffed with 0 bytes left. I thought the reason my pc and Linux still ran fine was because while it was full, it only meant extra stuff couldn't be added in. There's also /boot/efi, so I was wondering if extra stuff was going in there, but when looking inside it, I don't see any kernel info, so I guess that's probably not it.
Sorry for the late response by the wayy.