LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2016, 08:24 PM   #31
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895

Hmm, at first glance the BIOS is set to UTC which corresponds to a -7:00 offset which is correct for PDT. So I guess I am wrong and it does look like a UTC/BIOS clock problem.

Still waiting on the confirmation for your Windows date/time settings.
 
Old 04-27-2016, 12:50 AM   #32
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by mostlyharmless View Post
Interestingly, to me at least, I've seen this problem with booting a VM of Windows under Linux. Clearly care has to be taken to ensure that VM upon booting doesn't read the UTC as localtime. At least the host doesn't get changed.
With VirtualBox, at least, there is an option to set the VM BIOS clock to UTC or not for just this situation.
Mind you, the registry trick will still work in a VM.
 
Old 04-27-2016, 01:53 PM   #33
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Yes, using libvirt or qemu directly it's pretty straightforward to pass the clock=localtime to Windows, but the default is utc, so you have to remember to do that.
 
Old 04-30-2016, 06:31 PM   #34
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 21, Windows 11
Posts: 308

Original Poster
Rep: Reputation: 5
It is set to time.windows. What am I supposed to do to fix it? So many different variables, opinions, I lost track what to to.

Chris.

P.S. Linux is not running very good, lot of problems. Windows is rock solid. Might have to format and reinstall Linux again (second time in two weeks. Will post in another subject).
 
Old 04-30-2016, 08:08 PM   #35
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You are looking at your internet time sync setting in Windows, not libvirt settings. The internet time sync will work, but, as noted previously in the thread, may be delayed and just hides the problem until next boot.

If you use a virt-manager to setup your VM (not dual booting) it'll usually pick the correct options. You can check them afterwards. On the other hand, if your Linux install is flaky you might as well fix that first.
 
Old 05-01-2016, 04:43 AM   #36
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by happydog500 View Post
It is set to time.windows. What am I supposed to do to fix it? So many different variables, opinions, I lost track what to to.

Chris.

P.S. Linux is not running very good, lot of problems. Windows is rock solid. Might have to format and reinstall Linux again (second time in two weeks. Will post in another subject).
I think the easiest way is the registry change that myself and KARNVORbeefRAGE pointed out that lets Windows use UTC system clock also. It certainly works for me.
 
  


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
how to convert windows date and time to unix date and time jitupatil_2007 General 8 03-31-2008 05:58 AM
date and time settings Bobfurey Mandriva 3 01-19-2004 05:03 AM
Mandrake screws up date/time puzz_1 Linux - Newbie 1 06-10-2003 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:43 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
Open Source Consulting | Domain Registration