Tech Support > Operating Systems > Linux / Variants > How to uninstall kernels?
How to uninstall kernels?
Posted by Adm 4600cc SFO on October 9th, 2003


Red Hat 9 came with 2.4.20-8 kernel, and the latest I installed (via
redhat network) was 2.4.20-20.9. Now at boot up in GRUB menu I have
two selections. Since I don't need the older one, how could I remove
it?


AL


Posted by Linuxgeek on October 9th, 2003


Adm 4600cc SFO wrote:
ROOT cleanup:

in a console, at the root prompt: root#> rpm-qa | grep kernel

AFTER it returns with the list of kernels, kernel tools, you can remove
what you want:

root># rpm -e kernel-debug.2.4.20-8-1

and, please check in with a Linux User Group as, there are 530+ of them,
world wide http://lugww.counter.li.org

The Central Florida group is http://leap-cf.org


Posted by Eggert Ehmke on October 9th, 2003


Adm 4600cc SFO wrote:

There is nothing wrong with having the option to boot the other kernel, in
case the new one does not work as expected. However, the grub menu is in
/boot/grub/menu.lst. Just edit it to your choice.
Eggert


Similar Posts