Debian7&windows Two-system time inconsistency problem

Source: Internet
Author: User

With a Win+linux dual system, and then the problem comes:
1, Windows treats the system hardware time as local time, the operating system display time is the same as the time shown in the BIOS.

2, Linux/unix/mac hardware time as UTC, operating system display time is the hardware time after conversion, for example, Beijing time is gmt+8, the system display time is hardware time +8.

So in the case of Linux and Windows dual system will appear Linux time will be faster than Windows 8 minutes, in order to solve this problem, I refer to the user's method Linux under the following settings:

Settings in Ubuntu: Let Ubuntu do not use UTC time, while enabling local time, need to modify the/etc/default/rcs file, the file inside the Utc=yes modified to Utc=no, and then modify the Linux time for the current correct time, The time for both systems after restarting is the current time.

Although Ubuntu is a Debian diqin but unfortunately I did not find in the file UTC settings, there are netizens said to add a UTC setting, this I did not try.

Then I saw this:

Originally want to back up the source file and then CP, with VI open to see the results found garbled no matter what the direct coverage:sudo cp/usr/share/zoneinfo/utc/etc/localtime

And then the time is normal, nothing to change. Thank!

Reference Link: http://tieba.baidu.com/p/2354312694

Debian7&windows Two-system time inconsistency problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.