Results 1 to 5 of 5

Thread: Old Kernel removal

  1. #1

    Red face Old Kernel removal

    I believe I have too many old kernels and would like to remove a few of them. What is the best way do do this?

    Here is the output of rpm -qa | grep kerenel:

    Code:
    rpm -qa | grep kernel                                                                   
    kernel-xen-2.6.31.12-0.1.1.i586                                                                       
    kernel-pae-devel-2.6.31.12-0.1.1.i586                                                                 
    kernel-source-2.6.31.12-0.1.1.noarch                                                                  
    kernel-desktop-2.6.31.12-0.1.1.i586                                                                   
    kernel-xen-devel-2.6.31.12-0.1.1.i586                                                                 
    kernel-debug-2.6.31.12-0.1.1.i586                                                                     
    linux-kernel-headers-2.6.31-3.4.noarch                                                                
    kernel-debug-devel-2.6.31.12-0.1.1.i586                                                               
    kernel-default-devel-2.6.31.12-0.1.1.i586                                                             
    kernel-source-rt-2.6.31-3.4.noarch                                                                    
    kernel-syms-2.6.31.12-0.1.1.i586                                                                      
    kernel-pae-2.6.31.12-0.1.1.i586                                                                       
    patterns-openSUSE-devel_kernel-11.2-20.22.1.i586                                                      
    nfs-kernel-server-1.1.3-21.3.1.i586                                                                   
    kernel-desktop-devel-2.6.31.12-0.1.1.i586
    kernel-firmware-20090821-4.1.noarch
    kernel-default-2.6.31.12-0.1.1.i586
    Also of these which ones should I keep, and which ones should I remove?

  2. #2
    Join Date
    Jan 2009
    Location
    43.009 N, 73.172 W
    Posts
    189

    Default Re: Old Kernel removal

    rpm -e kernelname

  3. #3

    Default Re: Old Kernel removal

    Thanks, which ones are safe to remove, and why are there so many?

  4. #4
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Old Kernel removal

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    > rpm -qa | grep kernel
    > kernel-xen-2.6.31.12-0.1.1.i586
    > kernel-pae-devel-2.6.31.12-0.1.1.i586
    > kernel-source-2.6.31.12-0.1.1.noarch
    > kernel-desktop-2.6.31.12-0.1.1.i586
    > kernel-xen-devel-2.6.31.12-0.1.1.i586
    > kernel-debug-2.6.31.12-0.1.1.i586
    > linux-kernel-headers-2.6.31-3.4.noarch
    > kernel-debug-devel-2.6.31.12-0.1.1.i586
    > kernel-default-devel-2.6.31.12-0.1.1.i586
    > kernel-source-rt-2.6.31-3.4.noarch
    > kernel-syms-2.6.31.12-0.1.1.i586
    > kernel-pae-2.6.31.12-0.1.1.i586
    > patterns-openSUSE-devel_kernel-11.2-20.22.1.i586
    > nfs-kernel-server-1.1.3-21.3.1.i586
    > kernel-desktop-devel-2.6.31.12-0.1.1.i586
    > kernel-firmware-20090821-4.1.noarch
    > kernel-default-2.6.31.12-0.1.1.i586


    kernel xen can be deleted if you don't use Xen
    then use uname -r and keep the kernel that uanme say and its source,
    headers and devel, firmware can be installed for some device, so keep
    it, the other you can delete it
    - --
    VampirD
    No in elenath hlar nan hd gn
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkt+4PgACgkQJQ+0ABWtaVmg9wCbBYU81pyiIogAqff7PrPNbguV
    gqAAn22uOjx2Pia4FKfvFQa6/h8PjUe1
    =6mmB
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,288

    Default Re: Old Kernel removal

    Code:
    uname -r
    will give you what runs at the moment.

    I do not know if you need the other ones, that is up to you.
    Henk van Velden

Posting Permissions

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