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.
Hi guys I am just wondering how do I go about removing Kernels that I no longer use each time I build a new kernel and I am left with old kernels I no longer use and my list of Kernels to boot is starting to get rather long. I usually edit the grub config file to remove the excess entries but I would rather remove them properly once and for all once again thanks in advance for teh help.
I do it manually.
Just removing these stuffs:
1. Old kernel under /boot directory
2. Corresponding initramfs (if kernel was built with initramfs support)
3. Kernel modules that belongs to old kernel (located under /lib/modules directory)
4. Old kernel sources at /usr/src
After removing all the above stuffs, run grub-mkconfig to re-create grub config file.
For custom kernels I build, I just delete them from /boot and from /lib/modules. Its that simple. I also delete the source from a folder I setup for custom builds.
Wow that simple thank you very much for the help guyus I didn't realize it was that simple all good now I know what to do and to keep my boot list shorter I do love this forum it certainly has made my Linux life more enjoyable without a doubt cheers guys
This helped answer all my questions... be careful tho if you are going with a 3.17 or later kernel and need bluetooth... there are issues yet to be resolved even in -current for that.
This helped answer all my questions... be careful tho if you are going with a 3.17 or later kernel and need bluetooth... there are issues yet to be resolved even in -current for that.
That is actually where I learnt how to build my custom Kernels for Slackware once you learn how its amazing how much more horsepower you get out of your machine by turning off things you don't use for example I don't have a bluetooth adapter on my computer so I turned that off like SCSI etc etc and you can tweak settings for teh CPu once you trim it down so much garbage that you don't need to run isn't running everytime you boot your computer my Slackware system freshly booted into my Mate Desktop environment i use approx 200MB of Ram compared to I used to use 500+Mb of ram before I started using my own custom compiled Kernels the Alien Bobs Wiki pages are such a great useful learning resource for me and so many other slackers thats for sure
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.