首先找到Windows 8的menuentry
cat /boot/grub2/grub.cfg | grep Windows
设置Windows 作为默认的启动项
grub2-set-default "Windows 8 (loader) (on /dev/sda1)"
验证默认启动项
grub2-editenv list
生成,更新grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
首先找到Windows 8的menuentry
cat /boot/grub2/grub.cfg | grep Windows
设置Windows 作为默认的启动项
grub2-set-default "Windows 8 (loader) (on /dev/sda1)"
验证默认启动项
grub2-editenv list
生成,更新grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg