windows 7, 8/10 After installing centos7 dual system, mbr will be rewritten to grub2 by default, and the default centos7 does not recognize the ntfs partition of windows, so the startup item does not have windows. Let's go with the editor to see how to solve the problem of losing Windows startup items after centos7 dual system!
You can use 3 commands to add windows to grub2's startup items.
First make sure the Internet is open.
1.yum -y install epel-release
2.yum -y install ntfs-3g
3.grub2-mkconfig -o /boot/grub2/grub.cfg
The three commands run successfully. After restarting, you can see the startup item of Windows 7 (loader) and enter Windows.
The above is the detailed content of How to repair missing Windows startup items in CentOS 7 dual system. For more information, please follow other related articles on the PHP Chinese website!