有時當你設定一個雙引導系統時,時間和時鐘的設定會讓事情變得有點奇怪,那麼你如何解決這個問題呢?今天的超級使用者問答帖子提供了一個完美的解決方案,可以幫助一個沮喪的讀者解決他的雙啟動時鐘問題。
今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。
照片由隨機抽取的吸管提供(Flickr)。
超級使用者讀者arielnmz想知道如何在他的雙引導Windows/Linux設定中獲得兩個時鐘,以顯示正確的和匹配的時間:
Ever since I started using Linux in a dual-boot set up with Windows, I have noticed when I rebooted the machine, the time on the other operating system was wrong (for example, 12:00 on Linux, reboot to Windows and see 18:00). When I checked the BIOS, the RTC was set to 18:00.
Since my time zone is -06:00 CST, I assume Linux just sets the RTC’s time to UTC and re-calculates the time based on the time zone whereas Windows just sets the RTC to the time for the time zone. Both use the same NTP server to synchronize the time.
My question is, which one is doing the right thing? On which one should I set the time zone setting to UTC in order to have the right time on both?
解決arielnmz的雙啟動時鐘問題的最佳方法是什麼?
超級使用者貢獻者Ayan Patra為我們提供了答案:
I recently faced the same problem and this is how I fixed it. You need to make some minor changes in both operating systems.
I started with Linux first. Run the following commands as root:
This will update your time if it is not set correctly.
Now set the hardware clock to UTC with this command.
Now boot to Windows and add the following to the registry. Simply create a .reg file using the code below in Notepad. Save it and run it.
From the next boot onward, both operating systems will show you the correct time.
有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。
...安裝第二個作業系統,並想知道風險?在你的電腦上安裝Windows和Linux可以讓你兩全其美。但這並不總是一帆風順的。雙重啟動可能會導致問題,其中一些問題很難預見。 ...
... 幸運的是,有解決辦法。這就是如何在雙引導作業系統之間共享資料的方法。 ...
...並與硬體和軟體進行互動。對許多人來說,要麼是Linux對Windows,要麼是Linux對Mac。 ...
... 簡而言之,你需要從你的電腦上解除安裝Ubuntu。你如何安全地做到這一點,而不丟失Ubuntu或Windows的資料? ...
... 下面的步驟向您展示如何構建一個標準的、低功耗的、緊湊型桌面計算機。對於專用HTPC或遊戲計算機,您可以選擇新增專用圖形卡。類似地,如果您正在構建一個伺服器,您可能會選擇最大...
...是這樣,您需要修復載入程式。我們的Linux PC在不啟動時如何修復的指南向您展示瞭如何做到這一點。 ...