0

So I have this problem, have Windows 7 and Xubuntu 16.04, dual boot screws time in Windows, tried to change /etc/default/rcS as stated in other posts, but UTC = yes line does not appear in that file, never mind, I create the line anyway and set it as stated in those posts, but still when I log into Windows time is wrong again...

Can anyone offer some help?

MadMike
  • 4,275
  • 8
  • 29
  • 50
Halo
  • 13

2 Answers2

1

As stated in one comment to this answer:

What you need to make sure, that all system you are using are using same setting. Either local time or UTC time. Windows by default uses local time. So if you tweak Ubuntu to local, both systems are in sync and problem should be gone.

gogeccc
  • 343
  • 2
  • 12
0

UTC=yes is no longer used in /etc/default/rcS. See man 5 rcS. it says:

The EDITMOTD, RAMRUN and UTC variables are no longer used. The UTC setting is replaced by the UTC or LOCAL setting in /etc/adjtime, and should have been migrated automatically. See hwclock(5) and hwclock(8) for further details on configuring the system clock.

Jean-Marie
  • 2,018