Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> how to deinstall the older kernel?
TheFstX
 Posted: Jun 27 2011, 07:32 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 21
Member No.: 339
Joined: 24-June 11









I have a question! Since the last Sysupdate i have two installed Kernels. And i would like to remove it from the Sys.
How can I deinstall the older one of the two Kernels? I don't need it, or?
PMEmail PosterUsers Website
^
redman
 Posted: Jun 27 2011, 07:44 PM
Quote Post


SLF Admin
********

Group: Admins
Posts: 1567
Member No.: 2
Joined: 8-April 11









QUOTE (TheFstX @ Jun 27 2011, 09:32 PM)
I have a question! Since the last Sysupdate i have two installed Kernels. And i would like to remove it from the Sys.
How can I deinstall the older one of the two Kernels? I don't need it, or?


It is up to you what to do.

As root, you can use "uname -r" to check which one is running.
Than with "rpm -qa | grep kernel" you can check which ones are installed.

Removing can be done by using "yum remove <kernel-version>" (without the < and >).


--------------------
What is SL? - Forum Rules - Info on 3rd Party Repos

Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.5 x86_64
Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL6.6 x86_64
Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, SL6.5 x86_64
PM
^
lemonzest
 Posted: Jun 27 2011, 10:30 PM
Quote Post


SLF Member
***

Group: Members
Posts: 130
Member No.: 109
Joined: 29-April 11









package-cleanup --old-kernels --count=2

that removes the old ones keeping just 2 behind incase one failes for some reason


--------------------
Desktop: Phenom II X6 1090T Hex-Core (Socket AM3), 16GB RAM, MSI 870-C45, 5x 1TB HDD, Radeon HD 6770 1GB, Mageia 2 x86_64

Test Box:Intel Pentium E2180 (Socket 775), 4GB DDR3, ASRock G41-VS3 2.0, 4x 1TB, 2x 500GB, Onboard GFX, Mageia 2 x86_64

Connection: Virgin Media XL 60Mb/s Down, 3Mb/s Up
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll