吴文官 发表于 2002-12-3 11:32:45

编译内核,启动时提示找不到init

请问是内核没有编译成功还是其它的设置有问题

younker 发表于 2002-12-3 13:06:44

估计是你得grub配置文件写的不对,一般情况下自己编译的内核, 再grub.conf中,是不需要制定initrt的,
只需要2行就可以了。

Zael 发表于 2002-12-10 07:26:47

那个INITRD是给启动时加载的模块映象到RAM DRIVE上去的, 为了快些.
有没有无所谓,可以在GRUB配置里去掉.
如果要, 可以在编译完模组后 mkinitrd/boot/your_imagename.img your_kernel_expression 完事.

另外rh8里可以用一个命令在make modules_install后运行, 什么都帮你做了, 包括修改grub.conf:

new-kernel-pkg --install --mkinitrd --depmod 2.4.20-mine

2.4.20-mine是你新编译的内核表达. your_kernel_expression.

Zael 发表于 2002-12-10 07:27:39

另外, 在配置内核时必须把 RAM DRIVE支持 编译到内核中.

monkeyking_hou 发表于 2003-7-21 13:15:56

我的总是提示:All of your loopback device are in use

Dragonfly 发表于 2003-7-21 22:57:10

thsi is happen when u mkinitrd, not when u boot. u need to enable the loop device. in u kernel. in block device section

osKernel 发表于 2003-9-18 00:47:52

use lilo and make install after make

KanKer 发表于 2003-9-18 02:38:33

这个问题我今天编译内核时也碰到了。原因便是默认配置未能把ext3分区编到内核,而你的/分区又是ext3所致.

lovesoft 发表于 2003-9-25 19:34:45

发表于: 2003-09-18, 2:38am    发表主题:   

--------------------------------------------------------------------------------

这个问题我今天编译内核时也碰到了。原因便是默认配置未能把ext3分区编到内核,而你的/分区又是ext3所致.


请问你是怎样解决的?

Dragonfly 发表于 2003-9-26 05:14:25

compile ext3 into kernel. the most easist way
页: [1]
查看完整版本: 编译内核,启动时提示找不到init