Results 1 to 5 of 5

Thread: How to delete or remove kernel

  1. #1
    Join Date
    Apr 2011
    Location
    Yazd (Iran)
    Posts
    253

    Question How to delete or remove kernel

    I have multiple kernel versions installed. How can I delete or remove a Linux kernel from my openSUSE 12.1?
    I run
    Code:
    rpm -qa | grep kernel
    command and the result is following:
    Code:
    rpm -qa | grep kernel
    kernel-devel-3.1.0-1.2.1.noarch
    kernel-xen-devel-3.1.0-1.2.1.i586
    kernel-desktop-3.1.0-1.2.1.i586
    kernel-firmware-20111025git-1.7.1.noarch
    kernel-default-devel-3.1.0-1.2.1.i586
    kernel-pae-devel-3.1.0-1.2.1.i586
    kernel-source-3.1.0-1.2.1.noarch
    kernel-default-3.1.0-1.2.1.i586
    kernel-desktop-devel-3.1.0-1.2.1.i586
    kernel-syms-3.1.0-1.2.1.i586
    and which one should i remove?
    MrAli
    Website: http://alihzadeh.blog.ir/

    My System: Hp pavilion dv2690ee notebook, Intel core2due 2.4, 3MB Cache, 250 GB HDD, 2 GB Ram.

  2. #2
    Join Date
    Aug 2008
    Location
    Maryland
    Posts
    208

    Default Re: How to delete or remove kernel

    Use Software Manager in Yast2. Should keep default or desktop. Depending on which version of openSUSE you have and what the installer detects determines which kernel you get. My 11.3 desktop has default, my 11.4_64 server has desktop. If you did not install the other kernels, then they were install has needed software. Looks like you may have choosing kernel development patterns in Software Management. When you boot you should see which kernel is loaded at startup, keep that one.

    Dave W

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,001

    Default Re: How to delete or remove kernel

    Code:
    uname -r
    will tell you which one is in use. Do not deinstall that one. For the rest deinstall as one normaly deinstalls software (YaST or zypper).
    Henk van Velden

  4. #4
    Join Date
    Apr 2011
    Location
    Yazd (Iran)
    Posts
    253

    Default Re: How to delete or remove kernel

    OK i resolved that.
    but i recently update the kernel with yast online update and after that i recognized that there is two option in the boot, one is opensuse default and another is opensuse desktop, and both versions are the same (before updating the kernel there was only one option in the boot except fail safe).
    which one should i select and which one can i remove?
    MrAli
    Website: http://alihzadeh.blog.ir/

    My System: Hp pavilion dv2690ee notebook, Intel core2due 2.4, 3MB Cache, 250 GB HDD, 2 GB Ram.

  5. #5
    Join Date
    Sep 2008
    Location
    Sulzbach (Taunus), Hessen [Hesse], Deutschland [Germany]
    Posts
    2,178

    Default AW: Re: How to delete or remove kernel

    Quote Originally Posted by ilAli View Post
    OK i resolved that.
    but i recently update the kernel with yast online update and after that i recognized that there is two option in the boot, one is opensuse default and another is opensuse desktop, and both versions are the same (before updating the kernel there was only one option in the boot except fail safe).
    which one should i select and which one can i remove?
    1. Please do not remove the same flavor that you use while you do the removing/deinstalling.
    2. Just keep the version that you like better. As I understand it, the desktop flavor is more optimized in view of performance (including faster booting) and the default flavor is more optimized in view of low power consumption (there was a test on page 22-30 in the latest German 3/12 "Linux Magazin" - probably something alike would be available in a English language 'sister'). And the pae flavor (pae means physical address extension) will allow you to use more than 4 GiByte RAM without real 64bit software or hardware.
    Compare:
    Kernel - openSUSE
    https://secure.wikimedia.org/wikiped...xtension#Linux

    Regards
    Martin

    Have a lot of fun
    Martin

Tags for this Thread

Posting Permissions

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