4

I've been using archlinux for a while but as the only SO in a hard drive. Today I decided to make a dual boot between windows 7 and archlinux, everything works fine but I have the following problem:

I have set the time in arch for example: 20:00, and when I go to Windows it updates to 01:00.

I've found some other posts like this

and a command hwclock --systohc

but is not working, I guess that I've done everything that I had to do in arch and now I have to fix some problems in Windows but I don't know what to fix

I hope somebody can help me with this because its annoying that I have to fix the time every time I start Archlinux/Windows

EDIT

SOLVED

The link on the correct answer works but the way it mentions (creating a file and execute it) didn't work for me so I had to do it myself. In case someone want the path in regedit, read this

http://www.comptalks.com/how-to-fix-incorrect-time-display-in-Windows-when-dual-booting-with-Linux-or-OS-x/

Thanks!!

JavierQQ23
  • 143
  • 1
  • 4

2 Answers2

2

Windows uses local time by default, while Linux uses UTC time. These links may help:

Does Windows 7 support UTC as BIOS time?

https://help.ubuntu.com/community/UbuntuTime#Multiple_Boot_Systems_Time_Conflicts

jjlin
  • 16,120
0

You should Change date and time in the following commands.

date --set "2012-05-06 23:54"

Then

hwclock --set --date="2012-05-06 23:54" 

To probe:

hwclock 
lun 07 may 2012 11:34:00 COT  -0.698178 segundos

I have a dual boot computer with Windows XP and Arch Linux.

slhck
  • 235,242