Chinaunix

标题: 内核编译的问题!急!! [打印本页]

作者: bon    时间: 2004-02-05 20:13
标题: 内核编译的问题!急!!
请问在编译内核重启后,出现kernel panic : no init found .try passing init = option to kernel
我找到相关资料,在编译时将File Systems中的
Ext3 journalling file system support (EXPERIMENTAL)
JBD (ext3) debugging support
两个都选为在内核编译,编译后启动仍有这个提示,请问有什么建议?谢谢!
作者: bon    时间: 2004-02-05 22:13
标题: 内核编译的问题!急!!
顶一下
作者: bon    时间: 2004-02-05 22:24
标题: 内核编译的问题!急!!
顶一下
作者: gnu7    时间: 2004-02-05 22:56
标题: 内核编译的问题!急!!
please post more useful information. grub.conf, contents of boot etc.... we're not psychic
作者: gnu7    时间: 2004-02-05 23:38
标题: 内核编译的问题!急!!
兄弟把framebuffer相关选项编译进内核了吗?
绝大多数的发行版本都使用了bootsplash,而它是需要内核的framebuffer支持的。这一点应该是造成黑屏的根源。
作者: wind521    时间: 2004-02-06 00:17
标题: 内核编译的问题!急!!
确认内核里对ext3的支持已经加上了
作者: vikingpro    时间: 2004-02-06 09:48
标题: 内核编译的问题!急!!
将lilo.conf或grub.conf中新内核启动项中的kernel项中的root=LABEL=/ 改成 root=/dev/hda7 (/dev/hda7是本人linux的根分区),否则重启动后会有错误:
Kernel panic: No init found. Try passing init= option to kernel

参考我的:
http://bbs.chinaunix.net/forum/viewtopic.php?t=251091&postdays=0&postorder=asc&start=0
作者: linux-yxzjf    时间: 2004-02-06 10:15
标题: 内核编译的问题!急!!
我也遇到类似问题,顶一下!
作者: bon    时间: 2004-02-06 10:34
标题: 内核编译的问题!急!!
2.4的内核,加了点东西重新编译。
我的grub
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3smp)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-3smp ro root=/dev/cciss/c0d0p7
        initrd /initrd-2.4.18-3smp.img
title Red Hat Linux-up (2.4.18-3)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-3 ro root=/dev/cciss/c0d0p7
        initrd /initrd-2.4.18-3.img
title New Kernel
        root (hd0,0)
        kernel /vmlinuz-kernel_new ro root=/dev/cciss/c0d0p7

New Kernel是我新编译的
作者: bon    时间: 2004-02-06 10:38
标题: 内核编译的问题!急!!
如果在New Kernel 里加入initrd /initrd-2.4.18-3smp.img,重启会提示ext3的错误,哪位知道为什么?
作者: bon    时间: 2004-02-06 10:57
标题: 内核编译的问题!急!!
按照上面的grub启动后,提示:
kmod:failed to exec/sbin/modprobe -s -k block-major-104, errno = 2
VFS:Cannot open root device "cciss/c0d0p7" or 68:01
Please append a correct "root=" boot option
Kernel panic:VFS: Unable to mount root fs on 68:01

是否可能是scsi或其他设备问题?
作者: bon    时间: 2004-02-06 14:12
标题: 内核编译的问题!急!!
原帖由 "gnu7" 发表:
兄弟把framebuffer相关选项编译进内核了吗?
绝大多数的发行版本都使用了bootsplash,而它是需要内核的framebuffer支持的。这一点应该是造成黑屏的根源。
不是黑屏,是死机。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2