Linux.com

kernel

Link to this post 11 Jul 09

if we install a new kernel module in our linux system, will older one remove automatically or it'll be there with new one or the newer one'll upgrade the older???

if installation of new kernel will remove the older then what about that particular very short time when there is no kernel in the system....... i mean time between older one is removed and newer is ready to install.....

i knw this is very clumpsy question, but i tried best to explain u my problem.

Link to this post 12 Jul 09

A new kernel and modules doesn't replace the old one, it is added separately and becomes active when you reboot. Older modules along with their kernels are only removed when you physically remove that older version of the kernel.
If you add a new kernel and then reboot, you can see both kernels in grub, and you can choose either to boot from.
I always keep at least one older version on my computer in case the newer kernel fails (which has never happened to me), this way you always have a backup, and are always able to boot up to make repairs.

Hope this helped

Link to this post 15 Jul 09

gr8linux wrote:

if we install a new kernel module in our linux system, will older one remove automatically or it'll be there with new one or the newer one'll upgrade the older???

if installation of new kernel will remove the older then what about that particular very short time when there is no kernel in the system....... i mean time between older one is removed and newer is ready to install.....

i knw this is very clumpsy question, but i tried best to explain u my problem.

Kernels and kernel modules are separate entities. You can remove a module with the modprobe command, and only that service is unavailable until you load the new module. Likewise, you can remove a kernel or add a new one, but it won't affect the running system until you reboot. Remember, Linux is not like Windows. It is designed to be updated in-situ and keep running until you are ready to reboot or restart a service.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board