This is a discussion on Can you import old kernel .config file? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I've upgraded my kernel to 2.6.10 to 2.6.11 and I wondered if it was safe to load the .config ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've upgraded my kernel to 2.6.10 to 2.6.11 and I wondered if it was safe to load the .config file from the old kernel to the new. This is so I don't have to keep manually adjusting the kernel options when I just want an updated kernel. It seems to work ok when I did it but can anyone confirm if this is considered an acceptable practice and will it cause problems? |
| |||
| Andrew Walker wrote: > I've upgraded my kernel to 2.6.10 to 2.6.11 and I wondered if it was safe > to load the .config file from the old kernel to the new. This is so I > don't have to keep manually adjusting the kernel options when I just want > an updated kernel. > It seems to work ok when I did it but can anyone confirm if this is > considered an acceptable practice and will it cause problems? Yeah man, just copy it over then instead of doping a `make menuconfig` or what-have-you, run `make oldconfig`; then you can select the new options or changed options in the new kernel |
| |||
| Andrew Walker wrote: > I've upgraded my kernel to 2.6.10 to 2.6.11 and I wondered if it was safe > to load the .config file from the old kernel to the new. This is so I > don't have to keep manually adjusting the kernel options when I just want > an updated kernel. > It seems to work ok when I did it but can anyone confirm if this is > considered an acceptable practice and will it cause problems? This is what I use, have worked so far ## cd /usr/src/linux ## cp /proc/config.gz .; gunzip config.gz; mv config .config ## genkernel --xconfig --oldconfig --gensplash all |
| |||
| Malcolm wrote: > Andrew Walker wrote: >> I've upgraded my kernel to 2.6.10 to 2.6.11 and I wondered if it was safe >> to load the .config file from the old kernel to the new. This is so I >> don't have to keep manually adjusting the kernel options when I just want >> an updated kernel. >> It seems to work ok when I did it but can anyone confirm if this is >> considered an acceptable practice and will it cause problems? > > Yeah man, just copy it over then instead of doping a `make menuconfig` > or what-have-you, run `make oldconfig`; then you can select the new > options or changed options in the new kernel I just want to point out if you update from 2.4.x to 2.6.x, you can not use the old config file. Not even `make oldconfig`. It really not working. You need to config the whole thing via `make menuconfig' or `make xconfig' Tom |
| ||||
| "Lars H." <lars.hesdorf@mail.dk> wrote: [snip] > ## cp /proc/config.gz .; gunzip config.gz; mv config .config $ zcat /proc/config.gz > .config //Peter ;-) -- My REAL email address is: vim -c ":%s/^/CrgreUXneyffba@tznvy.pbz/|:normal ggVGg?" "Rainbows are pretty. I don't know why I shoot at them." |