vim /boot/grub2/grub.cfg
在### END /etc/grub.d/00_header ###之后添加:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry ‘Windows 10 (loader) (on /dev/sda1)’ –class windows –class os $menuentry_id_option ‘osprober-chain-140E68540E6830C2′ {
insmod part_msdos
insmod ntfs
set root=’hd0,msdos1’
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
3282192083

打赏