I found the fix to this problem here, but it doesn't work entirely: http://wiki.osx86pro...iversal_for_RTC
The first method seemed the best to me, but it had a few issues:
[Skip to the dashed line if you just want my final solution. My only new contribution are two modifications to the original procedure detailed in the wiki]
1. The way it works is that on boot OS X sets its own local time to the BIOS time (what OS X thinks is UTC). On shut down, OS X then sets UTC to be the current time, so that the BIOS clock will match local time (in other words, it saves local time into the BIOS). This probably seems a little confusing, so here's an example:
Let's say we're in GMT -5 (aka U.S. Eastern Time). Booting up the comp, the BIOS reads 11:00 AM. Starting up OS X, the date command is run -> 11:00 AM becomes local time. Without that date command, OS X would think that is 6:00 AM. Anyway, we do our stuff, then restart the comp to use Windows. Let's say its 11:10 AM at this point. If OS X shows 11:10 AM, that means in the BIOS right now it reads 4:10 PM. The second date command sets the BIOS time to 11:10 AM. Without this date command, Windows would show the time as 4:10 PM instead of 11:10 AM.
The issue is that the date commands on the wiki don't set seconds. If it is 11:00:55 in the BIOS, the first date command makes it 11:00:00 in OS X. Of course, this isn't a huge problem, but it annoyed me.
2. If you leave automatic time synchronization enabled in OS X, it seems sometimes the synchronization will run before the first date command while booting. This causes time to actually get further messed up. Example: It is 11:00 AM in the BIOS. OS X synchronizes to 11:00 AM local time before the first date command is run, which means it is now 4:00 PM in the BIOS. the date command then runs, setting local time to match BIOS time, which means OS X now displays 4:00 PM when it is really 11:00 AM.
Anyway, fixing the second issue is easy; just turn off time synchronization in OS X. However, without fixing the first issue, this means that with enough reboots the time will be significantly off. I managed to figure out modifications to the two date commands that will allow them to set seconds as well, fixing the first issue.
-------------------------------------------------------------------------------------------------------------------------------
-Open terminal.
-Type "sudo nano /etc/rc.local" without the quotes. The file likely doesn't exist, so you'll be creating a new one.
-paste this line to the file:
date `date -u +%m%d%H%M%Y.%S`
-press Ctrl-O, then enter to save. press Ctrl-X to get back to terminal.-type "sudo nano /etc/rc.shutdown.local" without the quotes. Again, the file probably doesn't exist.
-paste this line to the file:
date -u `date +%m%d%H%M%Y.%S`
-press Ctrl-O, then enter to save. press Ctrl-X to get back to terminal.-Turn off automatic time synchronization in OS X under system preferences. We can let windows do the sync'ing, or just manually sync every now and time.
That should be it. Hope it works for you!



Sign In
Create Account








