kernel compilation-From where it should be started for already compiled kernel
Hello all,
I compiled Redhat 9. Being a newbie i made small changes only. Since it has been compiled perfectly...so i would like to move a step further. When i was compiling for the first time, i reloaded the old Code:
/boot/config-2.4.20-8 but i'm not getting any file with the name /boot/.....( path to the folder in which all relevent files are..../config-2.4.2016 so what should i reload now ???? reloading config-2.4.20-8 will roll back the newly compiled kernel to the original one ( i suppose ). regards |
or should it be this one
/usr/scr/linux( my extracted folder of the source )/.config |
Instead of using make menuconfig (or xconfig if you are a GUI person), you can do make oldconfig which will work from your previous .config file (if it is in the correct location).
|
for each compilation save ur configuratin with a different name and if that works fine u can start with the last saved configuration and make changes to that
regards |
hi there,
Ya i'm saving the confiugration with new name. But how should i start with the last saved configurtion???? Which file should i reload after doing make xconfig regards |
if u r satisfied with ur last kenrel and want to move ahaead and make changes in that
then load that file else u can choose any config file, load that settings and start working on it regards |
Quote:
what should i do now...??? regards |
HI,
just searched this article on google........ Quote:
regards |
Quote:
regards |
not at all man !!!
Right from the starting i'm quoting that i'm trying to compile kernel 2.4, and following steps for it only. I don't know the reason why it wasn't there But now my problem has been solved.........i found the way of proceeding ahead with keeping the latest compiled files intact for new compilation...........and ya now ".config" file is there. Any ways thanks to all concerned guys!!! regards |
sorry for my mistake!!
just slipped out of my mind while posting that |
A little potential problem with make oldconfig is that, if you happen to be compiling to remove "everything but the kitchen sink," the old config obviously still has them.
What I like to do is to (after carefully saving the existing .config in a completely different directory, and no longer as a hidden-file) run:
|
All times are GMT -5. The time now is 05:42 PM. |