Click to See Complete Forum and Search --> : Make oldconfig?


Bios_Hakr
01-06-2001, 10:16 AM
Can anyone tell me how well this works? I had a working system, software root RAID0 was the only weird thing, and I did:

make oldconfig
make dep
make clean
make bzImage
cp /usr/src/yaddayadda/bzImage /boot/bzImage
BTW, /boot is not on the raid0
updated /etc/lilo.conf
lilo
reboot

I selected the new kernel at lilo and it did a kernel panic while trying to mount root. I was only upgrading from 2.2.14 to 2.2.18, so I don't think the differences could be that much to cause kernel panic.

Anyway, does make oldconfig work? What config file does it use? Will it work across kernel updates (eg.. 2.2.14 to 2.2.18)? Will it work across major upgrades (eg.. 2.2.X to 2.4.X)?

~Bios

sssadams
01-06-2001, 11:27 AM
im going to assume 2 things
1)your old kernel directory you renamed linux-2.2.14
your new one is named linux.
in a term as root use this
cp /usr/src/linux-2.2.14/.configure /usr/src/linux/
that will copy the old config file to the new 2.2.18 kernel directory.
then make oldconfig
make dep (optional)
make bzImage
make modules
make modules_install
I know you have the option to reuse old modules if you set it right but I never did due to the older sblive drivers that hated that funtion.