Find the answer to your Linux question:
Results 1 to 9 of 9
What is the best way to uninstall old kernels in Ubuntu 9.10? Thanks in advance for your advice. -Beau...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Location
    South Carolina
    Posts
    5

    [SOLVED] How to uninstall old kernels?

    What is the best way to uninstall old kernels in Ubuntu 9.10? Thanks in advance for your advice.

    -Beau

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Unless they've changed something since I last ran Ubuntu, you used to be able to select old kernels in synaptic and uninstall them, or you could use apt from the command line to remove them.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Location
    South Carolina
    Posts
    5
    Thanks, Ozar. Does it make much difference which method you use to uninstall old kernels?

    -Beau

  4. #4
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Most new users to Linux will probably find removing them with synaptic the easier method but the outcome should be the same.

    Don't know if it will be of any use to you, but here's an article I found in the Ubuntu wiki regarding old kernel removal:

    https://wiki.ubuntu.com/KernelTeam/removing-old-kernels
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Do you have ATI/Nvidia Graphics Card? Note that you have to re-install Proprietary driver again on every kernel upgrade.

    For old kernel removal, just open Synaptic Package Manager and search image. Remove all images except latest. Synaptic will autoremove other packages which had been installed as dependencies of older kernels.
    It the simplest way to un-install kernel.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined! ultimatelinux's Avatar
    Join Date
    Mar 2010
    Posts
    36
    sudo apt-get remove linux-generic linux-headers-2.6.28-18 linux-headers- 2.6.28-18-generic linux-headers-generic linux-image-2.6.28-18-generic linux-image-generic

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by ultimatelinux View Post
    sudo apt-get remove linux-generic linux-headers-2.6.28-18 linux-headers- 2.6.28-18-generic linux-headers-generic linux-image-2.6.28-18-generic linux-image-generic
    That command will work only if you have 2.6.28-18 version of kernel and is not being used by OS.
    As I mentioned earlier, easiest way is use Synaptic for Package Removal.
    You can find existing kernels in /boot folder or apt-cache search command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    If you instal ubuntu-tweak among many other tasks it will clear out old kernels for you. I don't think it's in the regular repos but you can google it or there's a launchpad repo for it.
    Pete

  9. #9
    Just Joined!
    Join Date
    Jun 2009
    Location
    South Carolina
    Posts
    5
    Thanks to everyone for contributing to this thread. This is excellent feedback to my original question.

    -Beau

Posting Permissions

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