How to manually set the boot entry for Windows in grub2?

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.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *