Incorrect kernel time on laptop boot

Jonathan Chen jonc at chen.org.nz
Thu Jan 18 18:42:37 UTC 2007


On Thu, Jan 18, 2007 at 09:35:43AM +0100, Gilbert Cao wrote:
> 
> Hi the list,
> 
> I currently experienced a problem with my Sony Vaio VGN-FE31B laptop.
> Each time I boot, the kernel time seems to be set with the wrong date time.
> When I poweroff the machine, wait for some minutes and reboot again, the
> kernel time is set with a few seconds after the "wrong" time on shutdown.

If you're dual-booting with Windows, the cause is that Windows will
set the BIOS to wall-time, while FreeBSD sets the BIOS to UTC. One way
to fix this is to run tzsetup and set FreeBSD to run with wall-time.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
  If you're right 90% of the time, why quibble about the remaining 3%?


More information about the freebsd-questions mailing list