- 论坛徽章:
- 0
|
编译2.6.13.3内核,启动正常,但进入控制台显示为原内核版本
这是我的grub
title Red Hat Linux Enterprise Linux AS (2.6.13.3)
root (hd0,0)
kernel /vmlinuz-2.6.13.3 ro root=/
initrd /initrd-2.6.13.3.img
title Red Hat Linux Enterprise Linux AS (2.4.21-4.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-4.EL ro root=/
initrd /initrd-2.4.21-4.EL.img
但进入2.6内核之后就是显示为2.4.21-4.EL版的内核
#df 显示为
/dev/hda2 /
不知是否将此处修改为kernel /vmlinuz-2.6.13.3 ro root=/dev/hda2
我编译内核的步骤为
tar -jxvf module-init-tools-3.1.tar.bz2 -C /usr/src
cd module-init-tools-3.1
./configure
make
make check
make install
./generate-modprobe.conf /etc/modprobe.conf
tar -jxvf linux-2.6.13.3.tar.bz2 -C /usr/src
cd linux-2.6.13.3
make mrproper
make menuconfig
make
make modules_install
make install |
|