How to manually set the boot entry for Windows in grub2?
Suppose that your Windows is installed on the first partition of the first disk (hd0,1) (yes, it’s right, that is (hd0, 1) if your distribution has not modified grub2’s default behavior) in NTFS format. You can boot your Windows in grub2 by:
insmod ntfs set root=(hd0,1) chainloader +1
And then press “F10” to boot it.