Complete removal of old Linux images: Difference between revisions

From WickyWiki
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:2017]]
[[Category:2017]]


Source:
* http://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu
* http://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu



Revision as of 18:19, 2 March 2017


Removing old Kernels

  • Install Synaptic package manager:
sudo apt-get install synaptic
  • Check the kernel that you use:
uname -r
Do NOT remove the kernel that you use and be advised to keep 1 or 2 older versions
  • Start Synaptic.
  • Search for 'linux-image', right-click a kernel and choose 'Complete removal' and click the Apply button to delete the kernel.
  • Repeat this search and removal for 'linux-header'.

Why

Reasons why you might want to do this:

  • free up some disk space, could be some Gb-s
  • speed-up grub updates