Mystorier 发表于 2003-6-1 21:35:33

【求助】新内核无法使用

本人使用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.
请假解决方案 :?:

Dragonfly 发表于 2003-6-1 21:55:11

can u post u .config file here? both the 2.4.20 one (if u have) and 2.5.69 one (u must have).

Mystorier 发表于 2003-6-5 00:47:28

一直想回但是就是不能发贴。
这次我再试试。

Mystorier 发表于 2003-6-5 00:59:54

由于上传的限制,我把名字都改了,对应关系:
config_2_5_69.txt                   -------             2.5.69的.config
config_2_4_20_8_default.txt-------             2.4.20-8的.config (默认设置)
为我迟到的回复道歉:cry: 。8过之前是在是发不了贴子。 :?:

Dragonfly 发表于 2003-6-5 01:33:34

never mind.

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.

Mystorier 发表于 2003-6-5 02:03:55

thank you for your advice,i'll try this soon
my system:
CPU:PIII 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?

Dragonfly 发表于 2003-6-5 04:34:20

nic
usb chip.
pci chip
scsi controller.

...

a easy method is to lspci u system, more /proc/ioport and more /proc/pci to know all.

Mystorier 发表于 2003-6-5 14:33:56

:cry: 现在那句.....Ok,booting the kernel已经没有了。
8过,现在出现了另一个问题:启动后屏幕很快地跳过一些文字,然后就显示一个反色的grub引导背景(还带些竖条纹,就好像windows死机一样)硬盘灯长亮而且没有读写操作,等了很长时间都没反应。 :cry:

---------------------------
现在使用的内核版本:2.5.70

jmcar 发表于 2003-6-5 20:25:22

我也出现了楼主最初一样的问题555,我利用GEUB作磁盘引导盘.
本来想把.CONF文件给版主看的,但令人尴尬的是我配置内核后不能STORE,真是丢人啊!在我要些FILENAME时,键盘就和锁定一样,根本不能写文件名!

Dragonfly 发表于 2003-6-5 21:34:25

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

Mystorier 发表于 2003-6-7 13:12:15

多谢斑竹的大力支持,现在我已经把问题解决了 :mrgreen:
除了声卡么声音外(8过这不影响)其他一切正常
其实我编译Linux是为了做路由,但是我发现使用原来内核启动,在菜单中有“服务”的选项,里面有个叫“routed”的服务,484打开这个就可以在不编译内核的情况下使用路由呢?还4一定要内核的支持才能启动? :?:

Dragonfly 发表于 2003-6-9 10:36:21

no idea. but i think kernel support is needed, at least from performance issue.
页: [1]
查看完整版本: 【求助】新内核无法使用