LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   .config portable? (https://www.linuxquestions.org/questions/slackware-14/config-portable-421126/)

corbintechboy 03-02-2006 10:08 PM

.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)

Alien_Hominid 03-02-2006 11:32 PM

It should be portable and work on most distros.

IceChant 03-03-2006 12:17 AM

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.

satinet 03-03-2006 07:37 AM

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....

Bjerrk 03-03-2006 10:12 AM

#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.


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