SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I've got a little problem...i would like to remove my old kernel from my box. How can I do?Does anyone know a website where I can find instructions ? Thank you very much...lucs
Remove your kernel... Do you mean the source tree or the compressed kernel image? Or are you talking about the lilo menu?
Assuming you have another workable kernel, to remove the compressed image, look in /boot (or sometime / ) for a file named vmlinuz, vmlinux or bzimage. THis is your compressed kernel. Make sure you don't remove the good one!
About lilo... just make change to /etc/lilo.conf and run "lilo"
About source tree... source of the kernel are located in /usr/src usually.
If the old kernel is the default kernel, which means it's packed,
use removepkg to remove:
kernel-ide-KERNELVERSION
kernel-modules-KERNELVERSION
kernel-source-KERNELVERSION
alsa-driver-VERSION_KERNELVERSION
but if you have enough space, just leave it there, and just remove it from lilo or grub. You never know. Maybe you'll need it some day
If this is manually installed you need to remove
the kernel image from /boot
the source directory: /usr/src/linux_KERNELVERSION
and the modules directory: /lib/modules/KERVELVERSION
what about the kernel-headers-KERNELVERSION package? Can that be removed or is it important to keep around? I've just installed 2.6.11.8 and I'm removing the default 2.4.30, I still have the 2.6.11.8 source in /usr/src
you can remove the source in /usr/src but the kernel header is a totally different thing... it's like something telling to your C compiler (gcc) what it can handle, it has very few to do with the kernel, so don't remove this (unless you want to install another one)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.