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! |
|
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 |
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 "
|
Thanx Guys! I'll try your suggestions
|
Oh yeah.
My distro is Red Hat Linux 9 |
All times are GMT -5. The time now is 08:56 PM. |