LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 09-18-2002, 11:00 AM   #1
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Rep: Reputation: 15
Question 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
 
Old 09-18-2002, 04:19 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 09-19-2002, 05:16 PM   #3
davebarnes
LQ Newbie
 
Registered: Dec 2000
Location: Derbys, UK
Distribution: RedHat, Slackware
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks!
I think I understand

just need to get my head around iptables now...
 
Old 09-20-2002, 02:21 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick question: Compiling a kernel to be used on another machine Fenster Fedora 2 07-15-2006 06:44 PM
Compiling kernel of different machine kushalkoolwal Debian 4 08-26-2005 06:56 AM
Compiling a new kernel for an old machine digitalwiz Slackware 5 08-04-2004 04:24 PM
Compiling kernel for remote machine mr_mandrill Slackware 4 10-12-2002 08:18 AM
Kernel Compiling for another machine... NMX Linux - Software 0 02-07-2002 11:55 AM


All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration