分页: 1 / 1

[问题]当我重启计算机到 windows 后系统时间就不准了

发表于 : 2006-04-04 16:26
elogos
每当我重启到了我的 windws 分区,我的系统时间总是和我这里的本地时间有 N 小时的误差。在 Ubuntu 下我如何才能解决这个问题呢?
1、编辑文件 /etc/default/rcS .这里是设置时间用的 ("UTC=").

2、把它设置成 no ("UTC=no")


我打开rcS文件,内容是这样的:
#
# Defaults for the boot scripts in /etc/rcS.d
#

# Time files in /tmp are kept in days.
TMPTIME=0
# Set to yes if you want sulogin to be spawned on bootup
SULOGIN=no
# Set to no if you want to be able to login over telnet/rlogin
# before system startup is complete (as soon as inetd is started)
DELAYLOGIN=no
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=yes
# Set VERBOSE to "no" if you would like a more quiet bootup.
VERBOSE=no
# Set EDITMOTD to "no" if you don't want /etc/motd to be editted automatically
EDITMOTD=yes
# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
FSCKFIX=no


改哪呀?太菜了,不好意思~ :oops:

发表于 : 2006-04-04 17:36
windforest
改下面这个
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=yes

PS:你的N=8

发表于 : 2006-04-05 10:06
punker
我也发现有此问题,在ubuntu系统启动的时候自动和时间服务器同步,
我想问一下如何设置不样时间同步呀

发表于 : 2006-04-05 11:14
weichg
你是不是安装时候选择设置成了格林威治时间?

发表于 : 2006-04-05 14:50
punker
那我倒是记不清了
只记得我选的时区是中国
不知道怎么改过来呀???

发表于 : 2006-04-08 9:22
networker
sudo /etc/init.d/hwclock.sh
改了UTC=yes 之后重启下上面的服务就行了。