LinuxQuestions.org
Register a domain and help support LQ
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 07-03-2003, 10:04 AM   #1
Sammy2ooo
Member
 
Registered: Jan 2003
Location: nearby switzerland
Distribution: Suse 8.0 / Suse 9.0 / Slackware 9.1 / Debian Sarge testing / Gentoo 1.4.10
Posts: 165

Rep: Reputation: 30
kernel compile with spec. config


Hello

i got a silly newbee question regarding kernel compiling. At home i have created an kernel config by using make xconfig and saved it to disk. Know i am at work and would like to let our fast server compile the kernel and modules. But i don't know how to tell make to use the config file....

Best Regards

Sam
 
Old 07-03-2003, 01:34 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Simple, you move the configuration file from the disk to some spot on the fast machine's filesystem.

On the fast machine, start the kernel configuration process again (with menuconfig or xconfig). At the bottom of the kernel options, there should be a "Load Alternate Configuration" choice. Choose it, and then give the path to the configuration file you copied over.

Last edited by Dark_Helmet; 07-03-2003 at 01:35 PM.
 
Old 07-03-2003, 02:16 PM   #3
Sammy2ooo
Member
 
Registered: Jan 2003
Location: nearby switzerland
Distribution: Suse 8.0 / Suse 9.0 / Slackware 9.1 / Debian Sarge testing / Gentoo 1.4.10
Posts: 165

Original Poster
Rep: Reputation: 30
well okay... maybee my question was not exactly enough

i mean without using xconfig or menuconfig, because wether ncurses nor Xfree is installed
 
Old 07-03-2003, 02:39 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
I'm fairly certain you would simply rename your configuration file to ".config" in the top level of the kernel's source.

A couple of questions though: is the server the same architecture as the machine you're compiling for? If not, you'll have to do cross-compiling.

Is the server running linux? If not, then the Makefile could fail. I'm sure there are various commands sprinkled throughout the makefile. I'd be almost 99.9% positive "make deps" would use sed, mv, or other commands to rearrange the source based on the configuration that's been chosen.
 
  


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
how could i compile a kernel using the old config speel Slackware 11 07-04-2005 11:59 PM
Kernel compile isn't reading my .config file...? R00ts Debian 4 03-21-2005 08:46 PM
Fedora2 kernel 2.6 compile. cant even make config (fixdep.c full of errors) qwijibow Linux - Software 4 06-20-2004 02:20 PM
can't compile qtparted, config OK, make failing slackist Linux - Software 3 06-03-2004 10:19 AM
Need a SIMPLE CONFIG file for Kernel compile bongski55 Linux - Newbie 1 09-02-2003 09:54 AM


All times are GMT -5. The time now is 01:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration