编译内核,启动时提示找不到init
请问是内核没有编译成功还是其它的设置有问题 估计是你得grub配置文件写的不对,一般情况下自己编译的内核, 再grub.conf中,是不需要制定initrt的,只需要2行就可以了。 那个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. 另外, 在配置内核时必须把 RAM DRIVE支持 编译到内核中. 我的总是提示:All of your loopback device are in use thsi is happen when u mkinitrd, not when u boot. u need to enable the loop device. in u kernel. in block device section use lilo and make install after make 这个问题我今天编译内核时也碰到了。原因便是默认配置未能把ext3分区编到内核,而你的/分区又是ext3所致. 发表于: 2003-09-18, 2:38am 发表主题:
--------------------------------------------------------------------------------
这个问题我今天编译内核时也碰到了。原因便是默认配置未能把ext3分区编到内核,而你的/分区又是ext3所致.
请问你是怎样解决的? compile ext3 into kernel. the most easist way
页:
[1]