QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 695|回复: 4

2.6.0引导时为何会出现这样的问题?

[复制链接]
发表于 2003-12-26 12:49:02 | 显示全部楼层 |阅读模式
在装入所有模块后,正常情况下是出现登录窗口,可是却出现如下提示:
INIT: Id "1" respawning too fast: disabled for 5 minutes.
INIT: Id "2" respawning too fast: disabled for 5 minutes.
INIT: Id "3" respawning too fast: disabled for 5 minutes.
INIT: Id "4" respawning too fast: disabled for 5 minutes.
INIT: Id "5" respawning too fast: disabled for 5 minutes.
INIT: Id "6" respawning too fast: disabled for 5 minutes.
然后停了很久,又出现这样的提示。这是什么原因?(模块是已经全部装入了。)
发表于 2003-12-26 14:48:57 | 显示全部楼层

Re: 2.6.0引导时为何会出现这样的问题?

[quote:51c68e6acf="寒秋"]在装入所有模块后,正常情况下是出现登录窗口,可是却出现如下提示:
INIT: Id "1" respawning too fast: disabled for 5 minutes.
INIT: Id "2" respawning too fast: disabled for 5 minutes.
INIT: Id "3" respawning too fast: disabled for 5 minutes.
INIT: Id "4" respawning too fast: disabled for 5 minutes.
INIT: Id "5" respawning too fast: disabled for 5 minutes.
INIT: Id "6" respawning too fast: disabled for 5 minutes.
然后停了很久,又出现这样的提示。这是什么原因?(模块是已经全部装入了。)[/quote]

In most distributions this means that the system is booting by default
into runlevel 5, which is supposed to respawn (re-start again after
it's been exited) a graphical login via xdm, kdm, gdm, or whatever,
and the system can't locate the program.

However, "Id" can also indicate the absence or misconfiguration of
another program, like mingetty, if init tries to respawn itself more
than 10 times in 2 minutes.

Id "x" is the number in the leftmost column of the /etc/inittab file:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

Commenting the offending line out and then fixing the errant program
and testing on the command line will allow you to see any error
messages that go to standard error output (console) if the errors are
not going to the system log file. Uncomment the line and restart init
with "kill -SIGHUP 1" or "telinit q" to cause init to reinitialize and
reread the /etc/inittab file.

Some systems, however, rewrite /etc/inittab when booting. In that
case, refer to the init man page, and/or the settings in
/etc/sysconfig/init.

Refer to the init and /etc/inittab man pages for detailed information.
回复

使用道具 举报

发表于 2003-12-27 12:48:18 | 显示全部楼层
哈哈。我的2.6.0引导时出现:kernel panic: NO init found. Try passing init : option to kernel
谁能告诉我这是什么意思啊?
回复

使用道具 举报

 楼主| 发表于 2003-12-27 13:33:06 | 显示全部楼层
编译的时候要记得把ext3格式也编译进去。否则就会出现这样的提示。
第一次引导的时候,我也是出现这样的错误,后来重新进行编译,引导时却是出现了init出错的信息。按照上面的方法,也还是同样的错误。
回复

使用道具 举报

发表于 2003-12-27 13:41:42 | 显示全部楼层
[quote:66d193bbdf="漫天飞雪"]哈哈。我的2.6.0引导时出现:kernel panic: NO init found. Try passing init : option to kernel
谁能告诉我这是什么意思啊?[/quote]

add "root=/dev/hdXX" to the grub.conf
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-18 06:44 , Processed in 0.036014 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表