Because of boredom, so want to try a dual system, so on the basis of WIN10, installed a Linux system, previously installed Ubuntu, almost all automatically complete without any pressure. But thinking of Ubuntu seems to be a little faster replacement, so a long time to replace the CentOS.
After installing CentOS, it will be found that the WIN10 startup item is overwritten and only CentOS can be started, so we need to find the Win10 startup item in CentOS.
On the internet to find a variety of methods, the following method is to retrieve the Win10 startup items and enter the system, "Other methods do not know what the cause is not successful (only win10 startup items, but cannot enter)":
1. Login to the root account (forget the need to do this, but it is best to use the root account)
-Input in terminal: SU
-then enter the password (password not shown)
2. Input in terminal
Vim/boot/grub2/grub.cfg
3. Find
# # # End/etc/grub.d/00_header # #
4. Press A to enter the insertion mode
Add the following statement below the above statement
# # # Begin/etc/grub.d/30_os-prober # #
Menuentry ' Windows ten (loader) (on/dev/sda1) '--class windows--class os $menuentry _id_option ' osprober-chain-140e68540e 6830c2 ' {
Insmod Part_msdos
Insmod NTFS
Set root= ' HD0,MSDOS1 '
Chainloader +1
}
# # # End/etc/grub.d/30_os-prober # #
5. Press ESC to exit the Insert mode, and then press Shift +:, enter Wq, and the carriage returns to save the exit. The last reboot of the WIN10 boot entry appears and can be entered into the WIN10 system.
This document is referenced from http://blog.csdn.net/ergouge/article/details/49836913
CentOS Boot Win10 boot entry