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

Re: Compiling kernel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 04 April 2004 13:04, Sebastiaan wrote:
> High,
>
> On Sun, 4 Apr 2004, 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?
>
> In /boot there is a file named config-.... with .... being your running
> kernel. Unpack the kernel source in /usr/src/linux and copy
> /boot/config-... to /usr/src/linux/.config

That was the piece of magic I needed. I was guessing that this was the current 
config, but I couldn't find anything that SAID it was the current config. 

Thanks much!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD4DBQFAcFA9jeziQOokQnARAkZzAJ0eMetsRUeRMhbr+Us7foizUJ6OvACWLlvv
+BA28a39pHv+LLc0vLg5WA==
=p0x1
-----END PGP SIGNATURE-----



Reply to: