how to fix time when dual booting Ubuntu and Windows
Posted: Wed 17 May 2017, 17:47
If you are dual booting Ubuntu (or Ubuntu derivatives) and Windows, you need to fix time when booting from Windows.
I use a Dog-based OS on a Windows machine from time to time, and my friend complains that the time is screwed when i am finished with my Ubuntu session.
There is a fix for that :
http://www.webupd8.org/2014/09/dual-boo ... tween.html
For version older than 16.04 :
sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS
and reboot
For 16.04 and newer :
timedatectl set-local-rtc 1
I use a Dog-based OS on a Windows machine from time to time, and my friend complains that the time is screwed when i am finished with my Ubuntu session.
There is a fix for that :
http://www.webupd8.org/2014/09/dual-boo ... tween.html
For version older than 16.04 :
sudo sed -i 's/UTC=yes/UTC=no/' /etc/default/rcS
and reboot
For 16.04 and newer :
timedatectl set-local-rtc 1