本人使用redhat 9,内核版本2.4.20
新下载了2.5.69内核,按如下步骤制作新内核:
make xconfig
make bzImage
make modules
make modules_install
cp ./arch/i386/boot/bzImage /boot
cp System.map /boot/System.map-2.5.69
mkinitrd /boot/initrd-2.5.69 2.5.69
编辑了/boot/grub/menu.lst
添加了下列内容:
title Redhat Linux (2.5.69)
kernel=/boot/bzImage ro root=/dev/hda1
initrd=/boot/initrd-2.5.69.img
(可能会写错一些内容,不过这不重要)
主要的问题是:
系统启动后就宕机了,最后一句话是:
Uncompressing Linux... Ok,booting the kernel.
请假解决方案
u choose CONFIG_INPUT = M. which is wrong. u need choose Y;
then at character device,
Virtual terminal
Support for console on virtual terminal
choose this two. (u need choose CONFIG_INPUT as Y in order to see this menu)
try to compile and test it again. btw, u kernel has many useless stuff. if u know what u want to do and what kind of hardware u have, u can reduce much.
thank you for your advice,i'll try this soon
my system:
CPUIII 667eb
main board: intel 443bx ( i have never heard of this kind of board )
video card:TNT2 M64 32M
memory:256M
sound card: fortemedia fm801 (hehe supported by the kernel now)
and... what else?
so this time u grub has problem. if u still can use the old one boot up, can u post u grub.conf here, u /etc/fstab here?
for u guys, u had better read rh doc to see how to use its disk to do rescue, or u can dl one like linux bbc, konppix as u cd booting disk, there are many such distributions available. u can try to chekc the distrowatch.com