网络这一条还是要用到init.d,这里是ubuntu官方文档中关于server版网络配置的文档,里面最后一个就是用的init.d。没找到service对应的命令,如果有的话还请告知tusooa 写了:额。笨兔似乎早放弃了/etc/init.d了。
这绝不是bug——关于开机出现等待60秒的提示的解决方案
- zhw2101024
- 帖子: 1849
- 注册时间: 2009-03-28 16:10
- 系统: Arch debian win7
- 联系:
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
为什么我的问题总是没有人回答?
金钱、责任与荣誉:OpenSSL主席谈心脏出血
拥有丰富API接口和广泛程序支持的dropbox云同步,点此注册,开始就比别人多500兆,我的空间也会增加。谢啦
==========我的作品==========
我做的一个面向开发者的gnome-shell扩展,有js基础又想自己调整gnome-shell功能的可以尝试一下
gnome-shell扩展开发入门,gnome-shell扩展系统扫盲帖
金钱、责任与荣誉:OpenSSL主席谈心脏出血
拥有丰富API接口和广泛程序支持的dropbox云同步,点此注册,开始就比别人多500兆,我的空间也会增加。谢啦
==========我的作品==========
我做的一个面向开发者的gnome-shell扩展,有js基础又想自己调整gnome-shell功能的可以尝试一下
gnome-shell扩展开发入门,gnome-shell扩展系统扫盲帖
-
- 帖子: 4
- 注册时间: 2010-10-26 22:33
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
我的ubuntu也是这样 而且 无限网卡驱动还不能使用
- sadboys2
- 帖子: 4
- 注册时间: 2011-08-29 17:19
- 系统: Ununtu 12.04
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
第一次遇到的时候还真是慌了一下~~~~
修改好后开机感觉好多了~~
修改好后开机感觉好多了~~
-
- 帖子: 3
- 注册时间: 2012-09-28 14:13
- 系统: 12.04
-
- 帖子: 1
- 注册时间: 2012-10-08 18:59
- 系统: win7
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
看看 谢谢分享 试下
- photor
- 论坛版主
- 帖子: 11004
- 注册时间: 2008-04-26 12:41
-
- 帖子: 1
- 注册时间: 2012-02-16 22:32
-
- 帖子: 6
- 注册时间: 2011-02-12 9:56
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
可以用,但还是有点慢。可能是其他地方慢吧
-
- 帖子: 8
- 注册时间: 2012-11-11 0:14
-
- 帖子: 40
- 注册时间: 2008-03-31 23:26
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
学到些东西,感谢LZ和大家的热情讨论。
-
- 帖子: 3
- 注册时间: 2013-01-06 23:19
- 系统: win7 linux ubuntu
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
楼主辛苦了 前来学习!!
-
- 帖子: 49
- 注册时间: 2011-07-28 22:17
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
可我这的有三处sleep,不知道区别。
# failsafe
description "Failsafe Boot Delay"
author "Clint Byrum <clint@ubuntu.com>"
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
# failsafe
description "Failsafe Boot Delay"
author "Clint Byrum <clint@ubuntu.com>"
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
- zhw2101024
- 帖子: 1849
- 注册时间: 2009-03-28 16:10
- 系统: Arch debian win7
- 联系:
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
sleep就是等待的意思。我觉得问题不在sleep,ubuntu的功能实在是太全了,所以开机肯定需要一些时间的。如果你想10秒内开机或者诸如此类的,抱歉我帮不了你,因为我没有这样的需要。我只能说换个发行版吧dhqdqk 写了:可我这的有三处sleep,不知道区别。
# failsafe
description "Failsafe Boot Delay"
author "Clint Byrum <clint@ubuntu.com>"
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
为什么我的问题总是没有人回答?
金钱、责任与荣誉:OpenSSL主席谈心脏出血
拥有丰富API接口和广泛程序支持的dropbox云同步,点此注册,开始就比别人多500兆,我的空间也会增加。谢啦
==========我的作品==========
我做的一个面向开发者的gnome-shell扩展,有js基础又想自己调整gnome-shell功能的可以尝试一下
gnome-shell扩展开发入门,gnome-shell扩展系统扫盲帖
金钱、责任与荣誉:OpenSSL主席谈心脏出血
拥有丰富API接口和广泛程序支持的dropbox云同步,点此注册,开始就比别人多500兆,我的空间也会增加。谢啦
==========我的作品==========
我做的一个面向开发者的gnome-shell扩展,有js基础又想自己调整gnome-shell功能的可以尝试一下
gnome-shell扩展开发入门,gnome-shell扩展系统扫盲帖
- aerowolf
- 帖子: 1778
- 注册时间: 2006-02-25 17:09
- 来自: 西安
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
感谢楼主分享!
我去试一下,我的U也装在移动硬盘中,启动得好几分钟呀,而且越来越慢!
我去试一下,我的U也装在移动硬盘中,启动得好几分钟呀,而且越来越慢!
-
- 帖子: 11
- 注册时间: 2013-03-20 14:49
- 系统: ubuntu 12.10
Re: 这绝不是bug——关于开机出现等待60秒的提示的解决方案
感谢了!!又学习了一个!