

#LINUX CREATE BOOT PARTITION FULL#
Personally, when I encountered a full /boot partition with apt broken, I used Stacer to get rid of older kernels. You can use the Synaptic Package Manager or a tool like Stacer to get started. Using a GUI tool to remove old Linux kernels Identify and delete old kernels only, not the current one you are using otherwise you’ll have a broken system. Next, to remove it, you can either utilize the terminal or the GUI.īe extra careful while deleting kernels.

You should note it down somewhere so that you ensure you do not remove it accidentally. Now, that you know what your current Linux Kernel is, you just have to remove the ones that do not match this version. Here, this command displays the current Linux kernel being used. The uname command is generally used to get Linux system information. To check your kernel version, type in the following command in the terminal: uname -r Method 2: Remove Unused Kernel Manually (if apt autoremove didn’t work)īefore you try to remove any older kernels to free up space, you need to identify the current active kernel and make sure that you don’t delete that. In the next method, I’ll highlight two different ways by which you can remove old kernels to free up space using a GUI and also the terminal.

But, if your /boot partition is full, APT may not even work. It’s worth noting that this method will only work if you’ve a tiny bit of space left and you get the warning. If you’re curious, you can go through it carefully and see what it actually removes. Once you enter the command, it will list the things that will be removed and you just have to confirm the action. This will not just remove unused kernels but also get rid of the dependencies that you don’t need or isn’t needed by any of the tools installed.
