Results 1 to 6 of 6

Thread: Clean old kernels from grub

  1. #1
    Join Date
    Dec 2006
    Location
    Canada
    Beans
    5

    Question [SOLVED] Clean old kernels from grub

    My grub screen has about 20 old kernels listed. How do I clean out some of the oldest?
    Last edited by webspider; August 17th, 2012 at 06:04 PM.

  2. #2
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Clean old kernels from grub

    Dont miss anything even it is small. one small pin is enough to bring down a man.


  3. #3
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    12,562
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: Clean old kernels from grub

    The Ubuntu Tweak janitor is my preferred method, but make sure to get the version for your current Ubuntu Release. http://ubuntu-tweak.com/
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Clean old kernels from grub

    Also, many of us keep the kernel just prior to the current one. It can make recovery easier under some circumstances.
    Please read The Forum Rules and The Forum Posting Guidelines
    My Blog
    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  5. #5
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Clean old kernels from grub

    Quote Originally Posted by QIII View Post
    Also, many of us keep the kernel just prior to the current one. It can make recovery easier under some circumstances.
    That's a very good policy to have just in case.

    I'm not sure how to use the Software Center to uninstall the old kernels. But apt-get works fine. You can get a list of what you have using dpkg.

    Code:
    dpkg --get-selections linux-image-*

  6. #6
    Join Date
    Dec 2006
    Location
    Canada
    Beans
    5

    Re: Clean old kernels from grub

    Thanks for the tips.

    Cheers

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
  •