分页: 3 / 5

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-09-21 9:27
zhw2101024
tusooa 写了:额。笨兔似乎早放弃了/etc/init.d了。
网络这一条还是要用到init.d,这里是ubuntu官方文档中关于server版网络配置的文档,里面最后一个就是用的init.d。没找到service对应的命令,如果有的话还请告知

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-09-22 20:17
shyness
我的ubuntu也是这样 而且 无限网卡驱动还不能使用

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-09-28 13:45
sadboys2
第一次遇到的时候还真是慌了一下~~~~
修改好后开机感觉好多了~~ :em09

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-09-29 15:38
qiangweicc
值得学习 :em11

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-10-08 20:30
349611904
看看 谢谢分享 试下

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-10-08 21:16
photor
:em09

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-10-23 16:25
fengback
谢谢拉[

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-12-11 17:14
yucejun
可以用,但还是有点慢。可能是其他地方慢吧

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2012-12-17 21:51
xixuedafa
好帖 :em11

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-01-07 20:51
goatok
学到些东西,感谢LZ和大家的热情讨论。

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-01-08 17:45
qu710458643
楼主辛苦了 前来学习!!

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-02-02 16:18
dhqdqk
可我这的有三处sleep,不知道区别。
# failsafe

description "Failsafe Boot Delay"
author "Clint Byrum <[email protected]>"

start on filesystem and net-device-up IFACE=lo
stop on static-network-up or starting rc-sysinit

emits failsafe-boot

console output

script
# Determine if plymouth is available
if [ -x /bin/plymouth ] && /bin/plymouth --ping ; then
PLYMOUTH=/bin/plymouth
else
PLYMOUTH=":"
fi

# The point here is to wait for 2 minutes before forcibly booting
# the system. Anything that is in an "or" condition with 'started
# failsafe' in rc-sysinit deserves consideration for mentioning in
# these messages. currently only static-network-up counts for that.

sleep 20

# Plymouth errors should not stop the script because we *must* reach
# the end of this script to avoid letting the system spin forever
# waiting on it to start.
$PLYMOUTH message --text="Waiting for network configuration..." || :
sleep 40

$PLYMOUTH message --text="Waiting up to 60 more seconds for network configuration..." || :
sleep 59
$PLYMOUTH message --text="Booting system without full network configuration..." || :

# give user 1 second to see this message since plymouth will go
# away as soon as failsafe starts.
sleep 1
exec initctl emit --no-wait failsafe-boot
end script

post-start exec logger -t 'failsafe' -p daemon.warning "Failsafe of 120 seconds reached."


主要问题:并无grub提示等待,然后是读条界面:先是紫色背景,感觉时间要15s吧才能出现ubuntu的读条画面,又过一段时间20s吧才到登录界面,反正开机时间长;今天新装的12.04

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-02-03 11:12
zhw2101024
dhqdqk 写了:可我这的有三处sleep,不知道区别。
# failsafe

description "Failsafe Boot Delay"
author "Clint Byrum <[email protected]>"

start on filesystem and net-device-up IFACE=lo
stop on static-network-up or starting rc-sysinit

emits failsafe-boot

console output

script
# Determine if plymouth is available
if [ -x /bin/plymouth ] && /bin/plymouth --ping ; then
PLYMOUTH=/bin/plymouth
else
PLYMOUTH=":"
fi

# The point here is to wait for 2 minutes before forcibly booting
# the system. Anything that is in an "or" condition with 'started
# failsafe' in rc-sysinit deserves consideration for mentioning in
# these messages. currently only static-network-up counts for that.

sleep 20

# Plymouth errors should not stop the script because we *must* reach
# the end of this script to avoid letting the system spin forever
# waiting on it to start.
$PLYMOUTH message --text="Waiting for network configuration..." || :
sleep 40

$PLYMOUTH message --text="Waiting up to 60 more seconds for network configuration..." || :
sleep 59
$PLYMOUTH message --text="Booting system without full network configuration..." || :

# give user 1 second to see this message since plymouth will go
# away as soon as failsafe starts.
sleep 1
exec initctl emit --no-wait failsafe-boot
end script

post-start exec logger -t 'failsafe' -p daemon.warning "Failsafe of 120 seconds reached."


主要问题:并无grub提示等待,然后是读条界面:先是紫色背景,感觉时间要15s吧才能出现ubuntu的读条画面,又过一段时间20s吧才到登录界面,反正开机时间长;今天新装的12.04
sleep就是等待的意思。我觉得问题不在sleep,ubuntu的功能实在是太全了,所以开机肯定需要一些时间的。如果你想10秒内开机或者诸如此类的,抱歉我帮不了你,因为我没有这样的需要。我只能说换个发行版吧

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-03-11 23:38
aerowolf
感谢楼主分享!
我去试一下,我的U也装在移动硬盘中,启动得好几分钟呀,而且越来越慢!

Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案

发表于 : 2013-03-31 16:19
jydu1980
感谢了!!又学习了一个!