LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2006, 10:08 PM   #1
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
.config portable?


Hello, I just recompiled my kernel in gentoo. I created a .config file as was wonder if is portable? I have done several gentoo install but have always been afraid to not compile everything into the kernel for fear of stuff not working. Now I finaly did it. I compiled my own kernel and everything works! I was wondering if I can take the .config file now and transport it across distros for kernel compiles?

Thanks in advance for the help.

(this has to do with slack because I want to do it with slack)
 
Old 03-02-2006, 11:32 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
It should be portable and work on most distros.
 
Old 03-03-2006, 12:17 AM   #3
IceChant
Member
 
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Blog Entries: 3

Rep: Reputation: 30
when you rebuild the kernel you can load the made config (very clear in xconfig :-P) and use it after you check everything fits just to make sure.
 
Old 03-03-2006, 07:37 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
i recenetly did this between slackware and Mepis and it worked fine (same PC of course).

in fact i just copied /usr/src/linux-2.6.15.4 from the slackware partition to the mepis partition.

then just ran "make" "make modules_install"


then re ran alsa and nvidia, and bob's your uncle....
 
Old 03-03-2006, 10:12 AM   #5
Bjerrk
Member
 
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 76

Rep: Reputation: 19
#4: You really ought to run make oldconfig first.

copy the .config to your kernel source folder, cd to the kernel source folder and run
make oldconfig
then
make && make modules_install

that'll definitely do the trick. I've done it lots of times.
 
  


Reply



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
Portable HDDs? draget Linux - Hardware 3 01-07-2006 01:15 AM
portable linux? |Spec-ops Linux - General 3 11-19-2005 07:28 AM
Just How portable is C? vdogvictor Programming 21 11-16-2005 09:38 PM
Suse portable kingM Linux - Software 2 10-07-2004 03:35 AM
Portable diagnostics mykrob Linux - Software 1 07-20-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration