I Love Ubuntu after Fedora it is my preferred OS who live in my personal Laptop. Today I was trying to install Oracle Virtualbox in my Laptop during building initrd image I start getting boot partition full error on screen.
Also in apt-get installation screen I got below error message due to no space left in /boot partition:
So for remediating this problem I followed below steps:
- First of all check the current kernel version.
- Check the installed kernels through this command:
dpkg --list 'linux-image*' | grep ^ii
- Delete the old and unused kernel which you don’t want to use it:
sudo apt-get remove linux-image-<version>
Where <version> will be the version of unused old kernel.
- After old kernel deletion update the grub by running below command. This below command will regenerate updated Grub2 configuration file.
1,725 total views, 2 views today