reset date and time

Ben Stringer ben at burbong.com
Thu Sep 22 06:48:19 UTC 2005


On Thu, 2005-09-22 at 16:39 +1000, Yuandan Zhang wrote:
> > 
> > Your settings look fine here. Same as mine, except I am in Melbourne.
> > 
> > Try (as root):
> > 
> > hwclock --debug
> > 
> > and post the results.
> > 
> > It may be the problem specific to your hardware stopping you setting the
> > clock.
> > 
> > Also, if you run "hwclock" by itself, does it display the correct time?
> > 
> > You can see the commands executed at shutdown (including the syncing of
> > the hardware clock) in /etc/init.d/halt if this is helpful in debugging
> > your problem.
> > 
> > Cheers, Ben
> 
> hwclock --debug produced NO error message 

That's good, but posting the results (output) will make it easier to
work out what the problem is.

> 
> looked at the /etc/init.d/halt script,
> the command or process is 
> 
>  /sbin/hwclock --systohc --localtime
> 
> the command line run of this command is ok
> but during halt, it failt, showing
> 
> Syncing hardware clock to system time     [FAILED]
> 
> i want to try set time in the bios, what key to trigger bios setup?

Depends on your BIOS, usually "DEL" or "F2" shortly after the PC is
booted.

Cheers, Ben




More information about the users mailing list