Hello Experts,
I am very much confused between System clock and Hardware clock.
On one of my Linux System, BIOS Shows the time as lets say 09:00:00 Hrs. And when I boot into the Linux OS , it Shows the time as 11:00:00. Which is the correct current time set by NTP daemon.
If I adjust the BIOS time to current time which is 2 Hours ahead of the BIOS time, then in the OS the time is Extended by 2 Hours as well.
I see the Point here is that System clock is always (+2) But is not correct.
I wish to have the same time in BIOS as what my OS is showing.
I can check the hwclock time using following command,
cat /proc/driver/rtc
rtc_time : 09:15:47
rtc_date : 2015-10-21
rtc_epoch : 1900
alarm : 15:37:00
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : yes
update_IRQ : no
periodic_IRQ : no
periodic_freq : 1024
batt_status : okay
So i think RTC is what Hwclock in BIOS is.
I also found that the command "hwclock --systohc --localtime" will set the RTC time to current time. But this has no effect on the actual Hardware clock in BIOS.
So how do we cut out the difference between hwclock and System clock??
Any pointers would be helpful.
Thanx.
- Admin