Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was just installing ntp on an ubuntu server that had the wrong time by a minute, and I got to wondering, how did it get any time at all to begin with? Is there some other process that sets the time at boot time? Or was this initial time just seeded when the VM was instantiated?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

It is most likely reading it from your server's BIOS.

share|improve this answer
    
+1 - The BIOS would contain this information which your OS would read :) –  JamesK Aug 11 '10 at 12:53
    
Ah ha. Well it's a VM, so I wonder what access it has to the bare metal. –  John Bachir Aug 11 '10 at 13:48
1  
@John: The BIOS is virtualized. –  Dennis Williamson Aug 11 '10 at 14:15
    
You just blew my mind. –  John Bachir Aug 11 '10 at 14:38
    
The hypervisor (software the VM runs in) can also pull this information from your host (computer the hypervisor runs on) as well, or depending on the hypervisor, from the host OS system time itself. –  churnd Aug 11 '10 at 16:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.