windows 默认BIOS时间当前时间UTC+时区, 按北京时间时区,就是要加8个小时. Linux默认BIOS时间是UTC时间,因此同一机子上装WINDOWS与LINUX时间上会差8个小时.这问题有两中解决方法shell
1. 修改windows上的时候为UTC时间ubuntu
添加注册表windows
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]编辑器
RealTimeIsUniversal=dword:00000001spa
2.修改FEDORA时间为UTC+时区的时间3d
使用system-config-date打开时间设置code
去掉System clock use UTC钩orm
在Fedora 20中默认没有system-config-data, 能够在shell中输入timedatectl set-local-rtc 1
blog
3 或者在ubuntu下:打开“终端”,执行命令:sudo gedit /etc/default/rcS,在编辑器中将"UTC="更改成"UTC=no"后保存便可。ip
外部连接:
https://help.ubuntu.com/community/UbuntuTime#Multiple_Boot_Systems_Time_Conflicts