On 16-Jan-2001 Robert Key opined: > Hi, > Does anyone know how to do the following? > > I have compiled two different kernels (version 2.2.16-22) on my system. > I would like each kernel to have its own set of modules. The problem is > if the kernel version is say 2.2.16-22 (rh7) then the modules are > placed > in /lib/modules/2.2.16-22. How can one change this directory and have > the respective kernel find its correct modules? cd /usr/src/linux Now, using vi, vim, emacs, nano, pico, joe, or whatever editor you prefer, edit Makefile and on the line 'EXTRAVERSION =' change it to something other than what's already there. It should say (using what you have above) -22 and can be cnaged to -22.1 or -monkey or -22.iLIKElinux or anything you want. That will create modules in a different directory, Just make sure to name the kernel image, initrd (if you use one) and System.map accordingly. -- Five days a week my body is a temple. The other two, it's an amusement park. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list