[Fixed] Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Anders Ellenshøj Andersen
Thanks to several people who provided helpful info I have it working. I made the following changes: I added HWCLOCKPARS="--directisa" to /etc/default/rcS and rebooted. I reconfigured the tzdata package and restarted the ntp service. It works. I have the same time in both Vista and Debian. Than

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Koen Vermeer
On Wed, 2007-11-07 at 10:13 +0100, Florian Kulzer wrote: > On Wed, Nov 07, 2007 at 10:03:14 +0100, Koen Vermeer wrote: > > It's in /etc/init.d/hwclock.sh and /etc/init.d/hwclockfirst.sh, which is > > quite a pain if you regularly update your system, as these files are > > overwritten. It would be n

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Florian Kulzer
On Wed, Nov 07, 2007 at 10:03:14 +0100, Koen Vermeer wrote: > On Wed, 2007-11-07 at 09:58 +0100, Anders Ellenshøj Andersen wrote: > > Florian Kulzer skrev: > > This is interesting. hwclock doesn't work without this --directisa > > option. In what file do I put this HWCLOCKPARS="--directisa" settin

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Koen Vermeer
On Wed, 2007-11-07 at 09:58 +0100, Anders Ellenshøj Andersen wrote: > Florian Kulzer skrev: > This is interesting. hwclock doesn't work without this --directisa > option. In what file do I put this HWCLOCKPARS="--directisa" setting? It's in /etc/init.d/hwclock.sh and /etc/init.d/hwclockfirst.sh,

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Anders Ellenshøj Andersen
Florian Kulzer skrev: I had a similar problem once dual booting with WinXP. It turned out that there was an error when reading or setting the hardware clock (during boot and shutdown, respectively). Check if root can do this: hwclock --localtime --systohc hwclock --localtime --show (In my ca

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Florian Kulzer
On Tue, Nov 06, 2007 at 21:47:47 +0100, Anders Ellenshøj Andersen wrote: > I have a laptop with dual boot Vista and Debian Unstable. > > Vista sets the hardware clock to local time. > > To compensate for this I have UTC=no in /etc/default/rcS > > This setting seems to be ignored. Debian seems to

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-07 Thread Anders Ellenshøj Andersen
Anders Ellenshøj Andersen skrev: Does anyone have an idea on how to fix this? I'd like to thank all the people who emailed me privately with helpful suggestions, mostly along the lines of 'Dude! Vista sucks maan!'. Although I can certainly appreciate the idea that many people want to keep

Re: Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-06 Thread Bob Proulx
Anders Ellenshøj Andersen wrote: > Vista sets the hardware clock to local time. Yes. Annoying. And trouble making. > To compensate for this I have UTC=no in /etc/default/rcS Good. > This setting seems to be ignored. Debian seems to think that the hardware > clock is set to UTC, so in Debian

Dual boot Vista Debian Unstable hardware clock read incorrectly

2007-11-06 Thread Anders Ellenshøj Andersen
I have a laptop with dual boot Vista and Debian Unstable. Vista sets the hardware clock to local time. To compensate for this I have UTC=no in /etc/default/rcS This setting seems to be ignored. Debian seems to think that the hardware clock is set to UTC, so in Debian the clock is one hour ahead