Wednesday, July 31, 2013

Ubuntu does not remove old kernels

Ubuntu 12.10 does not do a good job of cleaning up old kernels. If you do a default install and allow Ubuntu to partition your disk, the /boot partition may fill up with no warning. Easy solution : install Ubuntu Tweak to clean out the old kernels.

Once installed :

  1. Run Tweak and click the "Janitor" button
  2. Click the checkbox next to "Old Kernel" under "System"
  3. Click the "Old Kernel" checkbox on the right, then the "Clean" button at the bottom right.

If you want to keep some of the old kernels, click the arrow next to "Old Kernel" checkbox, and they will be listed individually. You can then choose which to delete and which to keep.