Install CENTOS7 on the computer WINDOWS10 system and cannot find the Windows7 boot menu after installation.
Reason: Because CentOS 7 has a new GRUB2 system, you need to use VI to edit the grub.cfg file after entering the/BOOT/GRUB2 directory.
Workaround One: Modify the GRUB2 boot of CentOS 7 to add the Windows startup entry
1 1.sudo vi/boot/grub2/grub.cfg2 2. Find the # # # begin/etc/grub.d/30_os-prober # # #3 add 4 menuentry "Windows Ten (load ER) (on/dev/sda1) "{5 insmod ntfs6 set root= (hd0,1) #由于我的windows安装在硬盘的C盘, therefore (hd0,1) 7 chainloader +18 }
Solution Two: System automatically detects if there are other systems
Linux can only recognize the EXT3/4,FAT32 format, and if Windows is an NTFS-formatted disk partition, GRUB2 will not be recognized.
Transferred from: http://www.cnblogs.com/duzishanglu/p/4687958.html
CentOS 7 Installation Restore Windows boot entry