LinuxSir.cn,穿越时空的Linuxsir!

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

双系统,xp时间 和gentoo时间 老是不同步,怎么修改

[复制链接]
发表于 2006-5-2 12:11:12 | 显示全部楼层 |阅读模式
双系统,xp时间 和gentoo时间 老是不同步,怎么修改

我的xp与gentoo相差19个小时

我在gentoo是 UTC ,在gnome选择了上海时区

我安装gentoo的时候,看了安装说明,也用ln 作了连接
发表于 2006-5-2 12:26:41 | 显示全部楼层
修改/etc/conf.d/clock,这个是我的:
  1. # /etc/conf.d/clock

  2. # Set CLOCK to "UTC" if your system clock is set to UTC (also known as
  3. # Greenwich Mean Time).  If your clock is set to the local time, then
  4. # set CLOCK to "local".  Note that if you dual boot with Windows, then
  5. # you should set it to "local".

  6. CLOCK="local"

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

  9. CLOCK_OPTS=""

  10. # If you want to set the Hardware Clock to the current System Time
  11. # during shutdown, then say "yes" here.

  12. CLOCK_SYSTOHC="yes"


  13. ### ALPHA SPECIFIC OPTIONS ###

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

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


然后,
  1. env-update && source /etc/profile && source ~/.bash_profile
复制代码


最后用ntp-client同步一下
回复 支持 反对

使用道具 举报

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

本版积分规则

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