LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 754|回复: 1

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

[复制链接]
发表于 2005-7-2 14:44:28 | 显示全部楼层 |阅读模式
我从stage3安装的gentoo,修改了时区,校正的时间,主版的时间设置为本地时间,但是每次重启后时间会错个时机分钟到一个多小时不等,而且每次错的都不一样,不知为何,重启时,进入bios发现时间还是对的,但是linux启动了以后时间就不对了。
没有安装过NTP服务,一些设置如下
  1. # ls -ld /etc/localtime
  2. lrwxrwxrwx  1 root root 33  7月  2 13:47 /etc/localtime -> /usr/share/zoneinfo/Asia/Shanghai
复制代码

  1. # cat /etc/conf.d/clock
  2. # /etc/conf.d/clock
  3. # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/clock,v 1.2.4.1 2005/02/19 02:13:53 vapier Exp $

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

  7. CLOCK="local"

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

  10. CLOCK_OPTS=""

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

  13. CLOCK_SYSTOHC="no"


  14. ### ALPHA SPECIFIC OPTIONS ###

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

  17. # If your alpha uses the ARC console, set this to "yes".
  18. ARC="no"
复制代码

我尝试过先 date MMDDhhmm校正时间,然后 hwclock --systohc,然后reboot后时间就不对了,不知是何故? :ask
发表于 2005-7-2 16:07:42 | 显示全部楼层
我的也是有这个时间问题,如果在win下或者gentoo下进行网络对时后,主板的时间也会变化,不论在主板、gentoo、windows任何一种模式下对时,对另外两个都有影响,而且三者不一。真奇怪。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表