Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
old kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Mon Apr 03, 2006 1:53 pm    Post subject: old kernel Reply with quote

How to after successful upgrade of kernel safely remove old kernel?

Thanks
Back to top
View user's profile Send private message
Aries-Belgium
l33t
l33t


Joined: 08 Jul 2005
Posts: 730
Location: Willebroek, Belgium

PostPosted: Mon Apr 03, 2006 2:10 pm    Post subject: Reply with quote

For example if your old kernel is gentoo-sources-2.6.12
Then do:
Code:
emerge -C gentoo-sources-2.6.12


But fist you have to make sure you booted into the new kernel:
Code:
uname -r

_________________
Ep2.nl | Developers Community
Back to top
View user's profile Send private message
sparks
Guru
Guru


Joined: 05 Mar 2003
Posts: 331
Location: Nashville, TN

PostPosted: Mon Apr 03, 2006 6:01 pm    Post subject: Reply with quote

You probably overwrote the bzImage in /boot when you did the upgrade unless you specifically renamed the working kernel so as to have a backup incase something were to go wrong with the new one. as far as getting rid of the sources, if you emerged them just use the command
Code:
emerge -unmerge name-of-kernel-sources

or if you just downloaded the sources from kernel.org you could
Code:
rm -rf /usr/src/name-of-kernel-sources

That should take care of you.
_________________
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum