双击运行DiskGenius ->选择硬盘 ->重建主引导记录(MBR)->格式化linux所在分区
打完收工,window7成功引导,centos7成功卸载
解决安装win7和CentOS7双系统不显示windows启动项问题:修改/etc/grub.d里的40_custom文件
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'windows 7 ultimate'{
set root=(hd0,1)
chainloader +1
boot
}
保存,运行grub2-mkconfig -o /boot/grub2/grub.cfg(root权限下)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)