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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
elogos
帖子: 1
注册时间: 2006-03-23 10:04

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

#1

帖子 elogos » 2006-04-04 16:26

每当我重启到了我的 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:
windforest
帖子: 53
注册时间: 2005-12-13 20:56
联系:

#2

帖子 windforest » 2006-04-04 17:36

改下面这个
# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
UTC=yes

PS:你的N=8
punker
帖子: 11
注册时间: 2006-03-15 16:49

#3

帖子 punker » 2006-04-05 10:06

我也发现有此问题,在ubuntu系统启动的时候自动和时间服务器同步,
我想问一下如何设置不样时间同步呀
weichg
帖子: 20
注册时间: 2006-03-31 20:13

#4

帖子 weichg » 2006-04-05 11:14

你是不是安装时候选择设置成了格林威治时间?
punker
帖子: 11
注册时间: 2006-03-15 16:49

#5

帖子 punker » 2006-04-05 14:50

那我倒是记不清了
只记得我选的时区是中国
不知道怎么改过来呀???
networker
帖子: 419
注册时间: 2006-02-06 21:06
来自: Shanghai,China
联系:

#6

帖子 networker » 2006-04-08 9:22

sudo /etc/init.d/hwclock.sh
改了UTC=yes 之后重启下上面的服务就行了。
回复