Same kernel with different module dirs

Thomas Kaiser ubuntu at kaiser-linux.li
Mon Mar 23 20:05:25 UTC 2009


Hey Ubuntuers

Is it possible to tell the kernel which module dir to use?

E.g.: When I run kernel vmlinuz-2.6.28-11-generic, the kernel modules 
are located in "/lib/modules/2.6.28-11-generic/". Now, I would like that 
the kernel uses the module dir "/lib/modules/2.6.28-11-my-module/".

That would be nice because then I can make a copy of the original module 
dir to "my-module" and do what ever I want with the kernel drivers 
without damaging the original (provide by Ubuntu) modules dir.

When I want to go back to original Ubuntu, I just reboot without 
specifying "my-modules".

Thanks, Thomas





More information about the ubuntu-users mailing list