+ -
当前位置:首页 → 问答吧 → 每次重启后时间总是乱七八糟的%_@

每次重启后时间总是乱七八糟的%_@

时间:2005-07-02

来源:互联网

我从stage3安装的gentoo,修改了时区,校正的时间,主版的时间设置为本地时间,但是每次重启后时间会错个时机分钟到一个多小时不等,而且每次错的都不一样,不知为何,重启时,进入bios发现时间还是对的,但是linux启动了以后时间就不对了。
没有安装过NTP服务,一些设置如下
代码:
# ls -ld /etc/localtime
lrwxrwxrwx 1 root root 33 7月 2 13:47 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
代码:
 # cat /etc/conf.d/clock
# /etc/conf.d/clock
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/clock,v 1.2.4.1 2005/02/19 02:13:53 vapier Exp $

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local".

CLOCK="local"

# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.

CLOCK_OPTS=""

# If you want to sync the system clock to the hardware clock during
# shutdown, then say "yes" here.

CLOCK_SYSTOHC="no"


### ALPHA SPECIFIC OPTIONS ###

# If your alpha uses the SRM console, set this to "yes".
SRM="no"

# If your alpha uses the ARC console, set this to "yes".
ARC="no"
我尝试过先 date MMDDhhmm校正时间,然后 hwclock --systohc,然后reboot后时间就不对了,不知是何故? :ask

作者: nwslustc   发布时间: 2005-07-02

我的也是有这个时间问题,如果在win下或者gentoo下进行网络对时后,主板的时间也会变化,不论在主板、gentoo、windows任何一种模式下对时,对另外两个都有影响,而且三者不一。真奇怪。

作者: tonytop   发布时间: 2005-07-02

热门下载

更多