そんな時、Windows側の時計がUTCのままでずれてしまうという事象が発生します。これをLinux Mint側で修正する手順です。
まずは現在の設定を確認します。
$ timedatectl status一番下に表示されるRTC in local TZ: noが修正したい項目です。
Local time: 水 2018-03-07 20:55:15 JST
Universal time: 水 2018-03-07 11:55:15 UTC
RTC time: 水 2018-03-07 11:55:15
Time zone: Asia/Tokyo (JST, +0900)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
続いて、修正用のコマンドを発行します。
sudo timedatectl set-local-rtc 1なんの応答もしてくれない、そっけないコマンドです。
さて、もう一度設定値を確認してみます。
$ timedatectl statusLocal timeとRTC timeが同じ値にセットされました。これでWindowsを起動しても時計がずれることはなくなります。
Local time: 水 2018-03-07 20:55:31 JST
Universal time: 水 2018-03-07 11:55:31 UTC
RTC time: 水 2018-03-07 20:55:31
Time zone: Asia/Tokyo (JST, +0900)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode can not be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
しかし、RTCをUTCではなく、Localにセットすると長い警告文が追加で表示されるようになります。サマータイムを使っている地域だと致命的なのかもしれませんが、ここは日本でサマータイム制度はないので気にせずこのまま使うことにしました。