[svlug] Debian and Red Hat

Richard Sharpe rsharpe at richardsharpe.com
Tue Dec 23 01:25:27 PST 2003


On Tue, 23 Dec 2003, J C Lawrence wrote:

> On Mon, 22 Dec 2003 21:42:14 -0800 
> Kabir Khan <kabir8888 at hotmail.com> wrote:
> 
> > Hey someone teach me this trick with writing the kernel config file 
> > based on the current kernel.  
> 
> make oldconfig

There is a driver of some sort that allows you to get this from 
/proc/config[.gz], but, to expand on the above:

cd /path/to/new/kernel/source
cp /path/to/current/kernel/source/.config .
make oldconfig

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com





More information about the svlug mailing list