Page 4 of 4 FirstFirst ... 234
Results 31 to 31 of 31

Thread: HOWTO: Remove Older Kernels via GUI

  1. #31
    Join Date
    Aug 2009
    Beans
    3,275
    Distro
    Ubuntu Development Release

    Re: HOWTO: Remove Older Kernels via GUI

    I just do it the CLI way with terminal. I keep track of what kernels are installed on a text file and keep the last 2 kernels.

    Here is my text file for Quantal Quetzel 12.10:
    Code:
    sudo apt-get purge linux-headers-3.5.0-6 linux-image-3.5.0-6-generic linux-headers-3.5.0-6-generic linux-image-extra-3.5.0-6-generic    - deleted.
    
    sudo apt-get purge linux-headers-3.5.0-13 linux-image-3.5.0-13-generic linux-headers-3.5.0-13-generic linux-image-extra-3.5.0-13-generic    - deleted.
    
    sudo apt-get purge linux-headers-3.5.0-14 linux-image-3.5.0-14-generic linux-headers-3.5.0-14-generic linux-image-extra-3.5.0-14-generic    - deleted.
    
    sudo apt-get purge linux-headers-3.5.0-15 linux-image-3.5.0-15-generic linux-headers-3.5.0-15-generic linux-image-extra-3.5.0-15-generic    - deleted.
    
    sudo apt-get purge linux-headers-3.5.0-16 linux-image-3.5.0-16-generic linux-headers-3.5.0-16-generic linux-image-extra-3.5.0-16-generic
    
    sudo apt-get purge linux-headers-3.5.0-17 linux-image-3.5.0-17-generic linux-headers-3.5.0-17-generic linux-image-extra-3.5.0-17-generic
    I have a different one for each Ubuntu and each Ubuntu version sometimes has different files that make up the kernel.

    Here is the one for Lucid:
    Code:
    sudo apt-get purge linux-headers-2.6.32-29 linux-headers-2.6.32-29-generic linux-image-2.6.32-29-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-30 linux-headers-2.6.32-30-generic linux-image-2.6.32-30-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-31 linux-headers-2.6.32-31-generic linux-image-2.6.32-31-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-32 linux-headers-2.6.32-32-generic linux-image-2.6.32-32-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-33 linux-headers-2.6.32-33-generic linux-image-2.6.32-33-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-34 linux-headers-2.6.32-34-generic linux-image-2.6.32-34-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-35 linux-headers-2.6.32-35-generic linux-image-2.6.32-35-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-36 linux-headers-2.6.32-36-generic linux-image-2.6.32-36-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-37 linux-headers-2.6.32-37-generic linux-image-2.6.32-37-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-38 linux-headers-2.6.32-38-generic linux-image-2.6.32-38-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-39 linux-headers-2.6.32-39-generic linux-image-2.6.32-39-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-40 linux-headers-2.6.32-40-generic linux-image-2.6.32-40-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-41 linux-headers-2.6.32-41-generic linux-image-2.6.32-41-generic    - deleted
    
    sudo apt-get purge linux-headers-2.6.32-42 linux-headers-2.6.32-42-generic linux-image-2.6.32-42-generic
    
    sudo apt-get purge linux-headers-2.6.32-43 linux-headers-2.6.32-43-generic linux-image-2.6.32-43-generic
    PS: I didn't see who the author was. Didn't mean to butt in Drs305! Just thought I'd mention my method.
    Last edited by Cavsfan; October 8th, 2012 at 08:14 PM.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | 14.10 Mate | Mint 13 | Mint 17 | Windows 7 | All 64 bit

Page 4 of 4 FirstFirst ... 234

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •