Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 10-30-2009, 01:29 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 18

Rep: Reputation: 9
Date and time out on VirtualBox Guest OS

Hello, I am currently running Mac OS X (10.6.1) as my host OS and I am booting the LFS Live CD (lfslivecd-x86-6.3-r2160.iso) and am using VirtualBox 3.0.8 as my virtualization software. I am building my Linux system from the Live CD within VirtualBox, and I do not want to leave VirtualBox open all the time for various reasons. So, when I finish a section of the book I suspend the Guest OS which at the current time is the LFS Live CD. When I go to boot the Guest OS at a later date the time and date are not synced with the host OS current time, or just the normal current time for my part of the world. Is there a way I can update the date and time for the current Guest OS? One way I was able to sync the time was to reload the Live CD, but I do not want to do that every time I want to boot/restore from a suspended state. Is there some way I can run the time/date script that syncs the time again when the Live CD is loading from the console, so I do not have to the load the whole Live CD again?
Old 10-31-2009, 06:00 PM   #2
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Originally Posted by iPatch View Post
Is there a way I can update the date and time for the current Guest OS?
Install ntpd, the Network Time Protocol daemon, and let it sync time with your hosts NTPd or one of unrestricted accessible stratum 3 NTP servers close to you?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-18-2009 11:43 PM
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 05:58 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration