The Windows Grub boot was successfully repaired under CentOS

Source: Internet
Author: User

Reproduced

With CentOS7 and windows as dual systems, and after installing CentOS, there is a problem with booting without Windows booting.
, the second-to-last line sees the Windows boot entry:



Fix
Run terminal (terminal), type "Su root" to run as a super administrator, such as:


will not repair the boot of the child shoes, basically just finished loading the CentOS7 system, and so on reboot to find the Windows boot item is missing,
So, for a newly installed system, you should upgrade and update it first. Type "Yum Upgrade", which lists the files that need to be upgraded and checks out
The update will prompt "Is this so [y/d/n]" and type "yes" to begin downloading the installation upgrade.



Check for updates after upgrade, type "Yum Update",


Because the Linux system does not recognize the partition of the Windows operating system, NTFS-3G is installed, and ntfs-g is in the source "Epel-release.noarch".
So before installing nefs-3g, install the source first.
Execute "Yum search Epel", find the source, install it, execute "yum install Epel-release.noarch",

This step installs ntfs-3g and executes "yum install ntfs-3g"

Finally, the boot entry is automatically repaired. Executing "grub2-mkconfig-o/boot/grub2/grub.conf" will find the boot entry and add it to the grub file.

This avoids errors that may occur when you manually add, as you can see that the system boot key has been repaired successfully:

The Windows Grub boot was successfully repaired under CentOS

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.