LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01: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, 06:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:00 PM.

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
Open Source Consulting | Domain Registration