Linux – How to stop Linux from changing Windows’s clock

clocklinux-minttimetime zonewindows 8.1

I have a computer (HP-e010nr) that dual-boots Linux Mint 18.3 (Cinnamon, 64-bit) and Windows 8.1 (64-bit). Both are installed via BIOS compatibility mode (the Windows installer refused to use UEFI). My issue is:

When I start Linux, it sees that the system clock is not UTC, so it changes it to UTC (and then displays it 7 hours back to keep the right time). When I start Windows, it expects the system clock to be normal time (not UTC). It displays the clock as 7 hours ahead of my time zone, making timestamps wrong.

I can change the hardware clock to normal time after shutting down Linux, but this is very annoying to do. I would like them to both display the same time if I shut down Linux and booted Windows.

Is it possible to stop Linux from changing the hardware clock so that other operating systems (Windows and Android) will display the correct time?

Best Answer

Run this command to make Linux use local time. This will resolve the issue.

timedatectl set-local-rtc 1 --adjust-system-clock
Related Question