CentOS Boot Win10 boot entry

Source: Internet
Author: User

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

Related Article

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.