[Gllug] kernel new/old config
Roger Whittaker
roger at suse.co.uk
Fri Apr 5 20:21:22 UTC 2002
Dave knows how this works -- I don't. But it's useful ...
On Fri, 5 Apr 2002, John Edwards wrote:
> On Fri, Apr 05, 2002 at 08:51:23PM +0100, Roger Whittaker wrote:
> >
> > On Fri, 5 Apr 2002, Alain Williams wrote:
> >
> >> On Fri, Apr 05, 2002 at 03:52:29PM +0100, Paul Brazier wrote:
> >>>> Just a quickie: how to do you make xconfig using an existing
> >>>> kernel as a
> >>>> template? But not oldconfig? I did this a couple of years
> >>>> ago, but for the
> >>>> life of me cannot remember how.
> >>>
> >>> I think it's stored in /usr/src/linux/.config which you can import from
> >>> the "make xconfig" form.
> >>> That's assuming you compiled the previous kernel, I don't think there's
> >>> a way of extracting the kernel config from a binary-only kernel (might
> >>> be wrong here).
> >>
> >> No, not easy. That sort of thing has been talked about, but not implemented.
> >
> > I'm not sure whether this is SuSE-spcific, but what we do is to look at
> > /proc/config.gz
> >
> > That contains the kernel config of the running kernel.
>
> Debian's kernel-image packages have a copy of the config file in
> /boot/config-$VERSION, and RedHat's kernel-source package has their
> config files for the default kernel in /usr/src/linux-$VERSION/configs/.
>
> SuSE's system sounds interesting - is it anything to do with this kernel
> patch ?
> http://www.it.uc3m.es/~ptb/proconfig/
>
>
>
--
-------------------
Roger Whittaker
SuSE Linux Ltd
The Kinetic Centre
Theobald Street
Borehamwood
Herts
WD6 4PJ
------------------
020 8387 1482
------------------
roger at suse.co.uk
------------------
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list