Article directory
time out of sync
question
After installing the Win10+Ubuntu dual system, I found that every time I use Ubuntu and return to the WIndows system, the time is 8 hours slower than the real time. This is because Windows uses BIOS time as local time, and Ubuntu considers BIOS time as GMT (Greenwich) time. After synchronizing the time through the network, Ubuntu will modify the time in BIOS to be 8 hours slower than itself, ultimately causing the Windows system time to be slower. 8 hours.
solution
Enter the Ubuntu system, open the terminal, and install the ntpdate time synchronization tool
sudo apt install ntpdate
Synchronize time over the Internet
sudo ntpdate time.windows.com
Change the time mechanism, UTC→LocalTime, and synchronize the BIOS hardware time at the same time
sudo hwclock --localtime -- systohc
After restarting, you will find that the dual system time has been synchronized.
Set the default startup Win10
question
After installing the Win10+Ubuntu dual system, I found that every time I booted up, I entered the Ubuntu system by default. If I wanted to enter Windows, I had to make a selection within 10 seconds.
solution
First, remember the order of Windows on your boot interface. For example, Windows is the 3rd order on my computer.
Then enter the Ubuntu system, open the terminal, and open the grub configuration file.
sudo gedit /etc/default/grub
Note that there is a space after gedit. Change GRUB_DEFAULT=0 to your own Windows index, for example, I changed it to 2, and then click on the upper right corner to save.
Update grub configuration file
sudo update-grub
Restart your computer and you will find that Windows is already the default startup item.