SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I compiled a new kernel on my test system which is identical to my working system.
So everything is working fine, I want to use the kernel on both systems.
Is it safe to copy the whole /lib/modules/2.6.17.13-NEW tree or do I have to build the modules again?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
As long as both systems are running the exact same kernel version then this will be fine. You will need to run the depmod command to recreate a new system map of modules so that they can be found to load.
And the kernels are compiled with the same version of gcc.
The testing system ist a clone of the working system. I have a free partition to where I copy the whole system
in cases I want to make deeper changes or experiments. Even if something went wrong I can compare both
to find out what failed.
The testing system ist a clone of the working system. I have a free partition to where I copy the whole system
in cases I want to make deeper changes or experiments. Even if something went wrong I can compare both
to find out what failed.
Hi,
When I compile a kernel for a test system, I copy the kernel and the modules for the test system from the development system. You would not have to worry anything but the depmod on the target/test system. Of course the libs/gcc should be the same.
My build/development system is the fastest system with a better monitor. I do have more than one. One is just an old AMD athlon 1600. Just allowed to chug along. I use the extraversion in the Makefile to identify the target and level.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Here is another thing one can do to kernel building. If using an rpm based distro like Redhat and Redhat clones like fedora, one can build and rpm right from the kernel build directory. Issuing the command ' make rpm ' builds the kernel into an rpm format that be transferred from machine to machine as long as it is built containing the correct hardware specs of the other systems. You can build any kerenl you want for different platforms on a single machine. Do this with my slow machine that is a router. I can build the kernel for it on my dual AMD using the -j4 option for make in about the 1/12 of the time it would take on the router itself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.