If you are just trying to reconfigure your present kernel, then you can use the linux@ directory. But before you create the new kernel, edit the Makefile to something different than the present kernel settings or it will write over top of your old modules.
"/usr/src/linux" is really a soft-linked directory to a real directory. So if you are unpacking the source for a newer kernel, it will make a second directory beside the one that came from your installation CD's. In the case below, the linux-2.4.8 is the present kernel source and linux-2.4.22 is the newer source you have downloaded. But linux@ is still linked to linux-2.4.8 so you can't use it.
Your /usr/src might look like this:
linux@ linux-2.4.8 linux-2.4.22 /RPM
Since you cannot link linux@ to more than one directory, you must remove linux@ by entering the command (as root)
ln -s linux-2.4.22 linux
This will make linux@ linked to the new source directory.
Now you can use the linux@ for compiling your new kernel.
Hope this helps,
Last edited by harrygraham; 09-13-2003 at 09:48 PM.