On Tuesday, July 08, 2014 03:27:45 AM Michael Cook wrote: > On 07/08/2014 03:04 AM, J. Roeleveld wrote: > > On Tuesday, July 08, 2014 02:45:41 PM taozhijiang wrote: > >> Hi, all > >> I have installed dual OSes on my laptop: Microsoft Windows 7 and Gentoo. > >> But I can not sync the time with the different OSes. > >> By default, Windows & shows the right time, but Gentoo failed, how to > >> setup > >> the system to fix the problem described above. > >> > >> I am in the Zone UTC+8, China/Beijing. > > > > Please check the hwclock configuration: > > ********** > > # cat /etc/conf.d/hwclock > > # Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as > > # Greenwich Mean Time). If that clock is set to the local time, then > > # set CLOCK to "local". Note that if you dual boot with Windows, then > > # you should set it to "local". > > clock="UTC" > > ********** > > > > In other words: > > Set the BIOS clock to the local time. > > Set the following in the /etc/conf.d/hwclock file: > > clock="local" > > > > Also, ensure that MS Windows does the clock-changes between summer and > > winter time (if that exists where you live). > > > > -- > > Joost > > It's actually recommended for dual booting with Windows Vista+ to set > Windows to UTC rather than setting Linux to local (Windows XP and > earlier apparently don't play nicely/can't be set to UTC) > > This should tell you how: > https://wiki.archlinux.org/index.php/time#UTC_in_Windows
Thank you for this. I don't often boot into MS Windows and deal with the change in clock when I get back into Linux afterwards. This should solve that :) -- Joost