rh9.0下/usr/src/linux-2.4.20-8/
make menuconfig
make dep
make bzImage
make modules
make modules_install
然后用grub引导新内核报错:
jdb.o ext3.o was compiled for kernel version 2.4.20-8
while this kernel is version 2.4.20-8custom
check u Makefile, change that to
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION =
not be a custom. and if u use ext3, u have better compile it into kernel, since anyway u need it everytime.