john hedge wrote:

Hi,

I feel as though I should know the answer to this but it's alluding me.

I want to upgrade the kernel on my ultrasparc. I've downloaded the various packages that I need but when I looked for my config-2.4.18 it wasn't there. (I installed this originally from a set of CDs)

Q. Is there a way to create the oldconfig file?



Depends. If it was not remove it must be somewhere in your
file system.

A script to find oldconfig to your current kernel. You may have
to modify this.

#!/bin/sh
set `uname -a`
CFG_F=config-$3
echo Your config: $CFG_F
# search for its pathname and assign to CFG_P
CFG_P=`find / -print | grep $CFG_F`
echo Your config lives in: $CFG_P
# cp $CFG_P /to/where/linux/.config
# cd /to/where/linux
# make oldconfig
# your newconfig is in /to/where/linux/.config
# your oldconfig is in /to/where/linux/.config.old

Hope this helps.

O Plameras


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to