FreeBSD/Solaris dual-boot, problems with time (ntpd)

Lowell Gilbert freebsd-lists at be-well.ilk.org
Thu Jul 10 11:00:59 UTC 2014


Allan Jude <allanjude at freebsd.org> writes:

> On 2014-07-09 23:07, Erich Dollansky wrote:
>> Hi,
>> 
>> On Thu, 10 Jul 2014 12:09:48 +1000
>> Noel Hunt <noel.hunt at gmail.com> wrote:
>> 
>>> I have a dual-boot machine, running ntpd in both OSes, but when
>>> I switch from one OS to the other the time is wildly out.
>>>
>>> Can someone explain what is going on please?
>>>
>> could it be that the time difference is the time difference between
>> your time zone and GMT?
>> 
>> FreeBSD has the clock normally running on GMT.
>> 
>> Did you check that you have set the time zones of both installations
>> correctly.
>> 
>> Erich
>
> On FreeBSD, run 'tzsetup' and select 'no' when asked 'is your CMOS clock
> in UTC', this will leave your cmos clock in local time, which is what
> other OSs expect.

For values of "other OSs" that are limited to "Windows".

Solaris normally expects the real-time clock to be in UTC. On
some platforms it has a command (rtc) to adjust this to
another zone (an arbitrary zone, not necessarily the system's
default zone like FreeBSD supports).


More information about the freebsd-hackers mailing list