How to make an entry as default in Grub2 boot menu

How to make an entry as default in Grub2 boot menu

Guides, Linux
This article is only useful if you are using Grub2. Which is the default boot loader in recent Linux releases including Ubuntu 9.10 and newer. Recently I received a dual boot system in having Ubuntu as default and windows xp. I needed to make windows xp to be the default boot option i.e. to boot into windows automatically after 10 seconds. First of all we need to count the number of entries in the boot loader starting with 0. It means the first entry is 0, second is 1 and so on. In my case my windows entry was number 4. Note this number somewhere because we need to use it later. Now we need to load the Ubuntu or what ever version of Linux you have installed. In my…
Read More