April 20, 2002
Dual Booting Traumas
I've spent the past day or so searching the web, courtesy of Google for a way to tell my laptop that the hardware clock is in local time and not UTC. I didn't get a lot of luck, apart from the interesting information in the clock mini-howto.
But, if you dual boot your machine with Windows and Linux (Debian) I have the answer to your prayers. By default Linux assumes that your hardware clock is in UTC but Windows throws a hissy fit if it is in anything but local time. The solution? Tell Linux that your clock is in local time.
Under Linux this is done by issuing hwclock --localtime followed by hwclock --systohc. On Debian, the easy way to achieve this is to edit the file /etc/default/rcS. Change the line which reads "UTC=yes" to "UTC=no". Reboot and Bob is your Aunties live in lover.
Posted by Andy Todd at April 20, 2002 12:03 PM