Affected versions: 24.04

๐Ÿ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

System time is wrong after switching between operating systems.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Environment & Reproduction

Dual-boot setups commonly show timezone offset on reboot.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Root Cause Analysis

RTC handling differs between local time and UTC expectations.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Quick Triage

Check time sync status with timedatectl.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Step-by-Step Diagnosis

Review ‘RTC in local TZ’ and NTP state in timedatectl output.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-1
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Solution – Primary Fix

Set Ubuntu to use UTC hardware clock with timedatectl set-local-rtc 0 and enable NTP using timedatectl set-ntp true.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Solution – Alternative Approaches

If required, configure the other OS to use UTC for RTC consistency.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Verification & Acceptance Criteria

Time remains correct after two full reboot cycles.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Rollback Plan

Revert with timedatectl set-local-rtc 1 –adjust-system-clock if policy requires local RTC.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Prevention & Hardening

Keep NTP enabled and avoid manual clock edits.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Related: TLS certificate warnings caused by incorrect system time.

Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.

View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub โ†’

Browse all common problems & solutions on the Tutorials Hub.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

References & Further Reading

man timedatectl and Ubuntu time synchronization docs.

Illustrative mockup for ubuntu-24-04-lts โ€” post-182-2
Illustrative mockup – Progressive Robot โ€” Illustrative mockup โ€” Progressive Robot

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today โ€” we respond within one business day.