Remove back level Kernel
Like many using the Fedora distributions I have accumulated a bunch of back level kernels. It is most noticable when booting via grub. Is there a reasonably safe and easy way to remove back level kernel & modules? Another nice to have is something that would clean up the grub menu to shows only what you have?
Thanks in advance for any help. |
What to do is edit /boot/grub/grub.conf and remove each kernel section you don't what. Recommend to keep current and one old one (usually the default installed one ). Then /boot remove the vmlinuz, initrd, and system.map that match the kernels you removed from grub.conf. Now goto /lib/modules and remove match version number folders to kernel you selected earlier. That takes care of 99.99% of the items to gain back the space.
Brian1 " Google the Linux way @ http://www.google.com/linux " |
Thanks Brian!
That does the trick. |
Quote:
as the superuser, Code:
# rpm -q kernel Code:
# rpm -e kernel-2.6.10-1.760_FC3 That will do everything (and possibly more) that Brian1 said to do in one easy step Pudge |
That works even better, I've six servers I've been taking care of and this will be safer.
Thanks! Mike |
All times are GMT -5. The time now is 07:08 PM. |