Linux: Difference between revisions
Line 449: | Line 449: | ||
==Dual Booting== | ==Dual Booting== | ||
===Fix time difference between Windows=== | ===Fix time difference between Windows=== | ||
By default, Windows stores the local time in the hardware clock while Ubuntu stores UTC time. | |||
Set ubuntu to store UTC time: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
timedatectl set-local-rtc | timedatectl set-local-rtc 0 --adjust-system-clock | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Set Windows to store UTC time: | |||
https://wiki.archlinux.org/title/System_time#UTC_in_Microsoft_Windows | |||
===Recover GRUB after installing Windows=== | ===Recover GRUB after installing Windows=== |