安装
1、首先安装cetnos7,
2、其次安装windows10
3、启动项中居然只会出现cetnos,并没有windows的开机启动项
4、安装ntfs-3g用于识别ntfs分区:
yum install ntfs-3g
5、 重新生成引导项:
grub2-mkconfig -o /boot/grub2/grub.cfg
出现windows的引导项,
grub2引导windows7出现Setting partition type to 0x7错误
进入cetnos7
vim /boot/grub2/grub2.cfg
找到 windows启动项那一段
将其中chainloader +1 改为 ntldr /bootmgr 即可。