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.
I am not really liking kernel 2.6 at least for what i did so I would like to remove it and just have my 2.4.45 kernel how do I do this? I need a newby guide to uninstalling a kernel..
When you installed it, you should have included an entry in your boot menu for the old kernel. Then all you have to do is remove 2.6 from the boot menu. If the 2.4 is not there, look in the /boot directory for it's kernel image file, and add an entry for it in your bootloader.
I know theres more places than just that... Isnt there.. I thought i read some thread that theres more places to remove it. preferably id like a command to uninstall it just like you install it like make unintstall or something like that i know that probably isnt a command but i want to do it in the console..
remove the kernel (vmlinuz), config, and system.map in /boot
Make sure you have(or get) the old ones that go with your old kernel to put back.
You don't have to have the config file but you do need the system.map
rm -rf /lib/modules/2.6.x
rm -rf /usr/src/2.6.x
Not sure if it works on the kernel but might be worth a try. in the console go inside the folder for the kernel where it was built and type
make uninstall
A kernel may not be big, and the modules may not be big either, but when you compile the source code directory swells in size dramatically (by 100's of M). So if you're finished compiling stuff, I suggest you run 'make mrproper' to delete the extra stuff, or just delete the whole directory outright.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.