Re: two instances of the same kernel version, different modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cornelius Kölbel wrote:
Hello,

I use one version of kernel sources but will compile different instances of the kernel and of the modules.
So I will have a module directory /lib/modules/2.4.20 and a module-directory /lib/modules/2.4.20-b belonging to the second compiled kernel.


How can I tell lilo that the second compiled kernel will find its modules in the directory /lib/modules/2.4.20-b.

I want to be able to boot either kernel

2.4.20
2.4.20-b

But also when I but the kernel 2.4.20-b the kernel looks for its modules in /lib/modules/2.4.20


You need to edit the Makefile in the kernel source and change the etraversion varible before you do a "make clean dep bzImage modules modules_install install"


-- Once you have their hardware. Never give it back. (The First Rule of Hardware Acquisition) Sam Flory <sflory@xxxxxxxxxxxx>


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux