[SOLVED] removing previous older kernels "vmlinuz" when updates get newer versions
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
removing previous older kernels "vmlinuz" when updates get newer versions
Is removing previous older kernels "vmlinuz", when updates do get a newer version an easy task, or do the more recent Linux like Ubuntu 9.10 do that automatically, and only keep a few older previous kernels ?
Okay and thanks, I will try that. I have had Fedora installed for some time, and it does keep only 2 older kernel versions plus the new one. Also can that older kernel removal be done with the package manager ?
With a graphical (GUI) type package manager, there is no older kernels in it listed as available to remove. Also each previous kernel version has a matching initial ram disk file to be removed as well, and there may be some dependencies such as nvidia driver kernel modules. My SUSE 11 does not keep any older kernels or ram disk files when it updates to newer ones, but the Ubuntu 8.04 has about 8 pairs of older boot files, ( the previous kernel's vmlinuz, and the initrd.img ). So then attempting to remove them manually with the rm command may cause some problems. Or is there some way to find them by a search in the package manager so that it is then safe to be removed, thanks.
I have found more information in another post - which is what works for me:
If you have custom compiled kernel you need to remove following files/dirs:
Update grub configuration file /etc/grub.conf or /boot/grub/menu.lst to point to correct kernel version.
---------- Post added 09-12-11 at 10:13 AM ----------