Kernel Question - Debian

Eric Richardson plug-discuss@lists.PLUG.phoenix.az.us
Fri, 11 May 2001 13:18:53 -0700


Shadow wrote:
> 
> Eric,
> 
> > I'd like to compile my own kernel but would like to start from a known
> > starting point. For instance, I would like to compile my own 2.2.19 for
> > Debian but would like to start with the kernel-configuration file that
> > was used to make that stock kernel as this is currently working pretty
> > good. Then I could remove or adjust things with that as my starting
> > point. I know, too much engineering training gets in the way but what
> > can I say.
> >
> > Where can I get the stock configuration file for Debian 2.2.19?
> >
> > I've already downloaded the sources and I don't think it came with a
> > configuration.
> 
> Debian includes the .config file in the /boot directory along with the
> kernel.  In my case it's config-2.2.17.  Copy this file to
> /usr/src/linux (or wherever you are building your kernel) and rename to
> .config .
> 
> The only caveat is that Debian and most distros do not use the stock
> kernel.  Either obtain the kernel source from Debian or apply the debian
> patches to the stock kernel to avoid possible problems.

Fantastic! I'm glad it was that easy. I will be using the Debian sources
to build the custom kernel so I guess "stock" kernel was not the best
terminology. A standard Debian kernel would be a better way to describe
this.

Thanks,
Eric