On Wed, Jul 16, 2003 at 06:55:39PM -0500, Christopher Egner wrote: > Hey guys. I want to maintain, as I stated, two loadable Kernels. I want > to start working with UML. However I need someone to point me to how to > seperate modules from one another. Or if (hopefully) there's nothing I > need to do.
Well, the modules are normally put in /lib/modules/${KERNELRELEASE} by the Linux kernel Makefile. The KERNELRELEASE variable is defined in the first few lines of the Makefile by the version number followed by an 'EXTRAVERSION' value. This last value is what is used to give the 'gentoo-sources' kernels version strings like '2.4.20-gentoo-r5'. So if the two kernels are of different version numbers, you already don't have to do anything. If they're the same version, just changing the value of the 'EXTRAVERSION = ' line (which should be fourth in the kernel Makefile) and doing a full recompile will put the modules in a new location and change where the kernel looks for them. Then, of course, you have to change the Grub or Lilo configuration to be able to select which of the two you want to boot. ---------------------------+--------------------------------------------------- Bryan Feir VA3GBF|"This Santa Claus business is played out. It's a Home:[EMAIL PROTECTED] | sneaking, underhand method, and the sooner it's | exposed the better." -- Stephen Leacock ---------------------------+--------------------------------------------------- -- [EMAIL PROTECTED] mailing list