Score:0

Ubuntu 20.04 Low Disk Space on "boot"

in flag

I'm having problems updating. I'm getting this message about low disk space on boot and I tried this solution which use to work until now. Also this doesn't work sudo apt-get autoremove --purge it doesn't remove anything. When I do ls -l /boot I get this enter image description hereAs you can see I tried to delete them manually with sudo rm /boot/*-5.15.0-50-*, but I'm not sure if that even worked. How can I remove the old kernels or better yet how can I automate the process so I don't have to do it every time?

My current kernel using uname -r is 5.15.0-52-generic

df -h | grep /boot*

enter image description here

David avatar
cn flag
A few meg you get from removing old kernels will not fix your issue. Why is the root filled? How large was the root in the first place? By killing off all kernels not in use you lose the ability to run an older kernel which sometimes is needed. You never need to remove old kernels manually. It is done automatically when a new kernel is downloaded and installed when there are some old kernels on the system.
kanehekili avatar
zw flag
What does `df -h`say?
Pachuca avatar
in flag
@David idk why the old kernel is still around. Does that mean that something on my system is still using it? What should I do?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.