Re: eliminating old kernals
- From: Matt Giwer <jull43@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 May 2006 05:58:08 GMT
Jan Gerrit Kootstra wrote:
Matt Giwer wrote:decrepit wrote:Think this has been answered a few times, think I may have copied this from here myself.
How to remove old kernels:
Run
'rpm -qa | grep kernel'
to see which kernels you have installed.
Then, remove kernels starting with lowest number using this command:
'rpm -e kernel-version'
I also remove the associated develop files as well. It's never caused a problem for me, but I usually leave 2 kernels in there.
Thanks. I was going to do it manually but the safer rpm method is better. My question was only if it caused problems.
After several yum kernal upgrades I find my /boot partition filling up. I presume I can simply erase all but the present one (after making a boot disk for it) without any harm. Am I correct or looking for trouble?
Matt,
rpm -e does not give you trouble, it refuses to delete packages if you would break dependancies.
removal by hand makes the rpm database inconsitant (leaves the packagename in the database, while the files are removed). So do not do that to avoid trouble.
Gives you strange behavior, like you do not want to use a program anymore and after running up2date or yum you get it back with a newer version.
Point taken. Thanks.
--
80% of the Palestinians turned out for their last election. Maybe we should
put them in charge of exporting democracy.
-- The Iron Webmaster, 3640
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
Blame Israel http://www.ussliberty.org a10
.
- References:
- eliminating old kernals
- From: Matt Giwer
- Re: eliminating old kernals
- From: decrepit
- Re: eliminating old kernals
- From: Matt Giwer
- Re: eliminating old kernals
- From: Jan Gerrit Kootstra
- eliminating old kernals
- Prev by Date: Re: eliminating old kernals
- Next by Date: Re: Intel(R) PRO/Wireless 2200BG Network Connection driver on fedora 5
- Previous by thread: Re: eliminating old kernals
- Next by thread: NTFS partitions not visible on Redhat 9.0
- Index(es):
Relevant Pages
|
|