Removing native kernel
So, I have installed a new kernel using apt-get install kernel-image-x.x.xx and everything seems to be working fine. Now, the old kernel is still on my system. Since space does matter on my ancient i486, I am considering removing some files.
The old kernel was the native kernel of the installation image. So removing this kernel can't be done by just doing apt-get remove kernel-image-x.x.xx. This package simply doesn't exist. So, how can I remove the files associated with this kernel? If I need to do that manually, which are the ones to remove? I know it is wise to keep at least one old kernel for emergencies, however can I cut down the number modules by deleting the unused modules in older kernels? What about the redundant modules for the new kernel? Can I remove them as well? I guess these are very newbie questions. I hope someone can help me out on this downsizing issue. Gilion |
I'm not sure but I think that when you install the new kernel it erase the old files
|
Look in your /etc/lilo.conf and see where the kernel is, usually in / or /boot, that file you can safely remove as long as you remove all occurances from lilo.conf and run lilo before you reboot
|
I was wise enough to read howto's and manpages on lilo.conf and lilo. During my very first experiment my system got harmed seriously. Extending the delay somehow caused both kernels to fail loading. I'll start a new thread on that one.
|
All times are GMT -5. The time now is 08:10 PM. |