Quite simple question. I am working on a project to have multiple operating systems (all linux) on the same machine using btrfs subvolumes so that the user can boot to the environment they are comfortable with. Since all of them use the Linux Kernel, can the single Kernel be compiled and used for all operating systems on the machine? Is there anything OS specific and if so, is it just the kernel modules that are required by the OS or does it go deeper than that?
My current assumption is that the kernel is quite independent of the OS and that as long as all the modules were included for both OS in the one shared kernel, they could both share the kernel and hence share updates and changes made to the kernel.