How to make Windows the default/first entry in your GRUB2 menu


I hadn’t tried to understand the working of the GRUB2. One, day when my friend asked me how to make Windows the default entry in his GRUB menu, I didn’t have an answer. I went to the Ubuntu wiki page on GRUB2. Its very comprehensive. Most of the general aspects of the working of GRUB2 is explained in it, including the changes, how to configure the grub.cfg file, etc..
Though not explicitly stated in it, the method to make Windows the default entry was pretty clear from it. Here is how you do it-

1.cd /etc/grub.d

2.sudo mv 30_os-prober 10_0s-prober

3.sudo mv 10_linux 20_linux

4.sudo mv 20_memtest86+ 30_memtest86+

5.sudo update-grub

3 thoughts on “How to make Windows the default/first entry in your GRUB2 menu

  1. OMG THANK YOU! StartUp Manager doesn’t affect anything for some reason. (Is it working on the wrong file? Or grub is being rewritten elsewhere? Anyway…)

    This worked!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s