Views:
2,753β
Votes: 2β
Tags:
boot
partitioning
dependencies
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1033109
Title:
How do I free up space on /boot?
ID:
/2018/05/07/How-do-I-free-up-space-on-_boot_
Created:
May 7, 2018
Upload:
December 22, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Assuming the two kernels you will want to keep are:
linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic
linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic
So delete the others out of /boot
to free space:
sudo rm /boot/*4.10.0-28*
sudo rm /boot/*4.10.0-37*
sudo rm /boot/*4.4.0-103*
sudo rm /boot/*4.4.0-104*
sudo rm /boot/*4.4.0-98*
sudo rm /boot/*4.10.0-28*
sudo rm /boot/*4.10.0-38*
sudo rm /boot/*4.4.0-103*
sudo rm /boot/*4.4.0-98*
This will save you about 500 MB in /boot
but doesnβt remove the kernel packages fully. To do that use:
sudo apt autoremove