LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling kernel on another machine? (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-kernel-on-another-machine-30644/)

davebarnes 09-18-2002 10:00 AM

Compiling kernel on another machine?
 
Hi
Having spent 5 hours last evening recompiling the kernel on my Slackware 8.1 box (an old P150) I'm wondering if there's a quicker way to do it? Especially as I did it wrong :-)

I have another machine which is running RedHat and thats on a 1.33GHz machine.

Can I copy the kernel source onto the faster machine, configure and compile it there, and then transfer it back to do the make install etc

Btw, I know virtually nothing about compiling things in general or whats actually happening when do the make stuff.


Thanks

MasterC 09-18-2002 03:19 PM

Yes, you can. You can build your kernel on whatever machine you'd like, but make sure you build it to support the machine you will be transferring the image to, not the machine you are building it on. Remember to copy over the following:
The kernel image in arch/i386/boot/
The System.map in the lowest level directory of the kernel source file
/lib/modules/kernelversion

Cool

davebarnes 09-19-2002 04:16 PM

Thanks!
I think I understand :)

just need to get my head around iptables now...

MasterC 09-20-2002 01:21 AM

Cool, you're welcome. ;) And good luck on the iptables deal, I am as green as they come when it comes to networking :D

But there are loads of people here who aren't, so don't be afraid to ask, but make sure you put it in the networking section ;)

Cool


All times are GMT -5. The time now is 12:10 AM.