View previous topic :: View next topic |
Author |
Message |
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Mon Apr 03, 2006 1:53 pm Post subject: old kernel |
|
|
How to after successful upgrade of kernel safely remove old kernel?
Thanks |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Mon Apr 03, 2006 2:10 pm Post subject: |
|
|
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:
_________________ Ep2.nl | Developers Community |
|
Back to top |
|
|
sparks Guru
Joined: 05 Mar 2003 Posts: 331 Location: Nashville, TN
|
Posted: Mon Apr 03, 2006 6:01 pm Post subject: |
|
|
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 |
|
|
|