LKM – running multiple Kernels
Welcome to the tutorial guide. The guide will provide a user with guidance and instructions on how to run multiple Kernels.
A user needs to ensure that the LKMs built for Kernel A get inserted when he/she boots Kernel A and the LKMs built for Kernel B gets inserted when he/she boots Kernel B.
It is a good idea to keep both kernels (old and new) on the system until the new Kernel starts working.
The most common way to do this is with the LKM-hunting feature of modprobe. modprobe understands the conventional LKM file organization and loads LKMs from the appropriate subdirectory depending on the kernel that is running.
A user can set the uname release value, which is the name of the subdirectory in which modprobe looks, by editing the main kernel makefile when a user build the kernel and setting the VERSION, PATCHLEVEL, SUBLEVEL, and EXTRAVERSION variables at the top.
If you followed the advise and instructions as provided in this tutorial guide then you would have learnt about running multiple Kernels.













