LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 10-30-2009, 02:29 PM   #1
iPatch
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, 07:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,793
Blog Entries: 54

Rep: Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981Reputation: 2981
Quote:
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?
 
  


Reply


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 01:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-19-2009 12:43 AM
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 06:58 AM
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 11:17 AM


All times are GMT -5. The time now is 07:23 AM.

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