Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > eliminating old kernals
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th June 01:10
matt giwer
External User
 
Posts: 1
Default eliminating old kernals



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?

--
Can anyone tell me the difference between Iraq with nuclear weapons and Iran
with nuclear weapons? The lies all sound the same to me.
-- The Iron Webmaster, 3654
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
environmentalism http://www.giwersworld.org/environment/aehb.phtml a9
  Reply With Quote


  sponsored links


2 20th June 10:21
decrepit
External User
 
Posts: 1
Default eliminating old kernals



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.
  Reply With Quote
3 20th June 10:21
matt giwer
External User
 
Posts: 1
Default eliminating old kernals


Thanks. I was going to do it manually but the safer rpm method is better. My
question was only if it caused problems.

--
Always trust the government to be the government.
-- The Iron Webmaster, 3629
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
Larry Shiff http://www.giwersworld.org/computers/newsagent.phtml a8
  Reply With Quote
4 20th June 10:21
jan gerrit kootstra
External User
 
Posts: 1
Default eliminating old kernals


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.


Kind regards,


Jan Gerrit Kootstra
  Reply With Quote
5 20th June 10:21
matt giwer
External User
 
Posts: 1
Default eliminating old kernals


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
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666