[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling kernel



On Sun, Apr 04, 2004 at 12:18:13PM -0500, Michael Satterwhite wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I've been looking at the documentation for compiling the kernel, and something 
> seems missing to me.
> 
> There is ample documentation on configuring the kernel, but I don't see the 
> issue of the starting point addressed anywhere. It seems to be assumed that 
> if you're going to compile the kernel, then you want to individually visit 
> every configuration parameter and make a selection. There is good 
> documentation everywhere on how to do this.
> 
>  If you have a working kernel, however, it seems far more logical to use its 
> configuration as a starting point and make the changes relative to that. In 
> SuSE, there are good instructions on getting this starting point, but I don't 
> see anything like that in Debian. I *DO* see a config file in the /boot 
> directory, but it is ambiguous (at best) as to whether this is the 
> configuration for the running kernel. 
> 
> Being fair, when something is so pointedly not addressed, it usually means I 
> should have known the answer without asking - but I'll admit to ignorance. 
> Would someone be so kind as to point me at the place for the current config 
> (probably the one in /boot, but this isn't something I want to take a chance 
> on) for a starting point?
I haven't needed to do this for a while (recompile) but if I recall you
can move that file in /boot to a file called .config in
/usr/src/kernel-src or where ever the root of your kernel source tree
is. If it isn't .config I'm 99% sure it's another hidden dot-file in the
same place.

Good luck.

Attachment: pgpbL7ZwYUhOv.pgp
Description: PGP signature


Reply to: