how to fix time when dual booting Ubuntu and Windows

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

how to fix time when dual booting Ubuntu and Windows

#1 Post by labbe5 »

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

Post Reply