LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Removing old kernels (https://www.linuxquestions.org/questions/linux-newbie-8/removing-old-kernels-151726/)

dbzw 02-28-2004 11:07 PM

Removing old kernels
 
Hello!

I recently installed a new kernel and I would like to delete the old kernel. How do you remove an old kernel? My old kernel version is 2.4.20-6 (it came with my distro). Please give me simple instructions for I am very new to Linux! Thank you very much!

320mb 02-29-2004 01:07 AM

http://www.linuxquestions.org/questi...hreadid=151740

Tinkster 02-29-2004 01:14 AM

Knowing your dsitro would help :}

Usually it's two things you need to clean up:

/boot/vmlinuz.<mumble>
(potentially also /boot/config.<mumble>
and /boot/System.<mumble>)

/lib/modules/<mumble>

Then remove the reference to the kernel
from your bootloaders config file.


Cheers,
Tink

/bin/bash 02-29-2004 09:35 AM

su -c "rm -f /boot/vmlinuz-2.4.20-6 /boot/initrd-2.4.20-6.img /boot/System.map-2.4.20-6;rm -fr /lib/modules/2.4.20-6 /usr/src/linux-2.4.20-6 "

dbzw 02-29-2004 12:00 PM

Thanx Guys! I'll try your suggestions

dbzw 02-29-2004 12:01 PM

Oh yeah.

My distro is Red Hat Linux 9


All times are GMT -5. The time now is 08:56 PM.