You are not logged in.

#1 2013-09-17 03:25:06

steady_drop
Member
Registered: 2012-11-28
Posts: 31

[Solved] Time not Syncing correcting between dual-boot setup

Heya Everyone, I have a dual boot setup which I set up according to the Wiki and for some reason the time doesn't display correctly on either OS (Arch / Windows)

What I have done/know so far:

My bio clock is set correct...
I set Arch to use my hwclock as per guide.. (# hwclock --systohc --utc)
I set Windows to use UTC as per registry fix on guide.
I also disabled online synchronization in Windows
I set my timezone to EST (As I am in New York area) in Linux and Windows

timedatectl status gives me:

Local time: Mon 2013-09-16 18:21:45 EST
Universal time: Mon 2013-09-16 23:21:45 UTC
RTC time: Mon 2013-09-16 23:21:45
Timezone: EST (EST, -0500)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a

What am I missing why are both my OS's outputting localtime? Why is my localtime off like that?

Any help would be awesome.
Cheers,

Last edited by steady_drop (2013-09-17 04:20:46)

Offline

#2 2013-09-17 03:31:43

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

Then when I set the time on linux I get this:

Local time: Mon 2013-09-16 23:30:16 EST
Universal time: Tue 2013-09-17 04:30:16 UTC
RTC time: Tue 2013-09-17 04:30:17
Timezone: EST (EST, -0500)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a

Offline

#3 2013-09-17 03:38:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [Solved] Time not Syncing correcting between dual-boot setup

Do you have an ntp daemon set up and running?

Offline

#4 2013-09-17 03:57:01

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [Solved] Time not Syncing correcting between dual-boot setup

Did you actually set your system clock to UTC? Go into the BIOS/firmware setup and check the clock there. If it's displaying localtime, you missed that step.

Offline

#5 2013-09-17 03:57:54

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

Heya WonderWoofy, I used #systemctl to see what I had running and I didn't see anything that looked like ntp.

Did I check correctly?

I got the following...

UNIT                        LOAD   ACTIVE SUB       DESCRIPTION
proc-sys...t_misc.automount loaded active waiting   Arbitrary Executable File Fo
sys-devi...-sdd-sdd1.device loaded active plugged   OCZ-VECTOR
sys-devi...block-sdd.device loaded active plugged   OCZ-VECTOR
sys-devi...-sde-sde1.device loaded active plugged   MKNSSDCR60GB-DX7
sys-devi...-sde-sde2.device loaded active plugged   MKNSSDCR60GB-DX7
sys-devi...block-sde.device loaded active plugged   MKNSSDCR60GB-DX7
sys-devi...und-card1.device loaded active plugged   GF100 High Definition Audio 
sys-devi...und-card0.device loaded active plugged   82801JI (ICH10 Family) HD Au
sys-devi...et-enp5s0.device loaded active plugged   Motherboard
sys-devi...-sda-sda1.device loaded active plugged   WDC_WD2000JD-22HBB0
sys-devi...block-sda.device loaded active plugged   WDC_WD2000JD-22HBB0
sys-devi...-sdb-sdb1.device loaded active plugged   WDC_WD1002FAEX-00Y9A0
sys-devi...-sdb-sdb2.device loaded active plugged   WDC_WD1002FAEX-00Y9A0
sys-devi...block-sdb.device loaded active plugged   WDC_WD1002FAEX-00Y9A0
sys-devi...block-sdc.device loaded active plugged   WDC_WD1002FAEX-00Z3A0
sys-devi...block-sr0.device loaded active plugged   ATAPI_iHAS324_B
sys-devi...tty-ttyS0.device loaded active plugged   /sys/devices/platform/serial
sys-devi...tty-ttyS1.device loaded active plugged   /sys/devices/platform/serial
sys-devi...tty-ttyS2.device loaded active plugged   /sys/devices/platform/serial
sys-devi...tty-ttyS3.device loaded active plugged   /sys/devices/platform/serial
sys-module-configfs.device  loaded active plugged   /sys/module/configfs
sys-module-fuse.device      loaded active plugged   /sys/module/fuse
sys-subs...es-enp5s0.device loaded active plugged   Motherboard
-.mount                     loaded active mounted   /
dev-hugepages.mount         loaded active mounted   Huge Pages File System
dev-mqueue.mount            loaded active mounted   POSIX Message Queue File Sys
home.mount                  loaded active mounted   /home
run-user-1000-gvfs.mount    loaded active mounted   /run/user/1000/gvfs
sys-fs-f...onnections.mount loaded active mounted   FUSE Control File System
sys-kernel-config.mount     loaded active mounted   Configuration File System
sys-kernel-debug.mount      loaded active mounted   Debug File System
tmp.mount                   loaded active mounted   Temporary Directory
var.mount                   loaded active mounted   /var
systemd-...ord-console.path loaded active waiting   Dispatch Password Requests t
systemd-...ssword-wall.path loaded active waiting   Forward Password Requests to
accounts-daemon.service     loaded active running   Accounts Service
colord.service              loaded active running   Manage, Install and Generate
dbus.service                loaded active running   D-Bus System Message Bus
dhcpcd.service              loaded active running   dhcpcd on all interfaces
gdm.service                 loaded active running   GNOME Display Manager
polkit.service              loaded active running   Authorization Manager
rtkit-daemon.service        loaded active running   RealtimeKit Scheduling Polic
systemd-journald.service    loaded active running   Journal Service
systemd-logind.service      loaded active running   Login Service
systemd-remount-fs.service  loaded active exited    Remount Root and Kernel File
systemd-sysctl.service      loaded active exited    Apply Kernel Variables
systemd-...es-setup.service loaded active exited    Recreate Volatile Files and 
systemd-...-trigger.service loaded active exited    udev Coldplug all Devices
systemd-udevd.service       loaded active running   udev Kernel Device Manager
systemd-update-utmp.service loaded active exited    Update UTMP about System Reb
systemd-...sessions.service loaded active exited    Permit User Sessions
systemd-...le-setup.service loaded active exited    Setup Virtual Console
udisks2.service             loaded active running   Disk Manager
upower.service              loaded active running   Daemon for power management
dbus.socket                 loaded active running   D-Bus System Message Bus Soc
dmeventd.socket             loaded active listening Device-mapper event daemon F
lvmetad.socket              loaded active listening LVM2 metadata daemon socket
systemd-initctl.socket      loaded active listening /dev/initctl Compatibility N
systemd-journald.socket     loaded active running   Journal Socket
systemd-shutdownd.socket    loaded active listening Delayed Shutdown Socket
systemd-...d-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running   udev Kernel Socket
dev-sde1.swap               loaded active active    /dev/sde1
basic.target                loaded active active    Basic System
cryptsetup.target           loaded active active    Encrypted Volumes
getty.target                loaded active active    Login Prompts
graphical.target            loaded active active    Graphical Interface
local-fs-pre.target         loaded active active    Local File Systems (Pre)
local-fs.target             loaded active active    Local File Systems
multi-user.target           loaded active active    Multi-User System
network.target              loaded active active    Network
paths.target                loaded active active    Paths
remote-fs.target            loaded active active    Remote File Systems
sockets.target              loaded active active    Sockets
sound.target                loaded active active    Sound Card
swap.target                 loaded active active    Swap
sysinit.target              loaded active active    System Initialization
timers.target               loaded active active    Timers
systemd-...iles-clean.timer loaded active waiting   Daily Cleanup of Temporary D

Offline

#6 2013-09-17 04:01:33

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

Heya Scimmia, I'll go into my BIOs but I don't recall a place in my BIO's asking to specify UTC or not. I have set the BIOS to the correct time. I'll go back in and take an extra careful look.

Offline

#7 2013-09-17 04:05:39

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [Solved] Time not Syncing correcting between dual-boot setup

You say you have the BIOS set to the "correct time". Is that correct UTC time or correct local time. You've told both Arch and Windows that it's set to UTC, so if you have it set to localtime, that's your problem. There's nowhere in the BIOS to specify, you just set to clock.

Last edited by Scimmia (2013-09-17 04:06:47)

Offline

#8 2013-09-17 04:08:28

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

oooohhhhhhh I think I get what your saying...

I have to set my BIOs time to what UTC time is currently so 5 hours ahead of what time it is now... SO if it's 5 here I have to set my bios to 10? Is that correct?

Funny, I used to live in Portugal so I was in UTC time and never had to consider that..

Offline

#9 2013-09-17 04:13:26

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,900

Re: [Solved] Time not Syncing correcting between dual-boot setup

Current UTC is 04:11, if that's what your BIOS says, you should be fine.

Edit: I do see another problem, though. You have the timezone set to EST, or eastern STANDARD time, which won't take daylight savings into account. You need to change that to US/Eastern. That will only change it an hour, though, so I don't think that's your main problem.

Last edited by Scimmia (2013-09-17 04:17:08)

Offline

#10 2013-09-17 04:17:51

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

Scimmia, that did the trick !! I never thought to set my BIOs to a time in a different timezone.

When I did so I booted in and was off by an hour because I was in EST so I used: timedatectl set-timezone America/New_York
and now it looks spot on.

I am going to boot into Windows and see how that behaves now.

Thank you so much ! I'll BRB to mark this solved hopefully.

I bet this mistake happens a lot.. haha

Offline

#11 2013-09-17 04:21:45

steady_drop
Member
Registered: 2012-11-28
Posts: 31

Re: [Solved] Time not Syncing correcting between dual-boot setup

Thank you , WonderWoofy and Scimmia for taking the time to help. Much appreciated.

Offline

Board footer

Powered by FluxBB