This question already has an answer here:

i'm using dual boot and i want to use windows 7 as the default operating system.So how can i change default OS of GRUB Boot loader?

share|improve this question

marked as duplicate by user68186, falconer, Radu Rădeanu, Avinash Raj, Eric Carvalho Jan 6 '14 at 16:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 7 down vote accepted

use grub-set-default

$ sudo grub-set-default ENTRY

ENTRY is a number or a menu item title

or edit /boot/grub/grub.cfg

sudo chmod +w /boot/grub/grub.cfg
sudo vi /boot/grub/grub.cfg 
   change "0" in line: set default="0" to your choice
sudo chmod -w /boot/grub/grub.cfg
share|improve this answer
4  
It would be a better idea to edit /etc/default/grub and run 'update-grub' afterwards. /boot/grub/grub.cfg is not meant to be edited. – nick Jan 28 '15 at 18:34
    
It would be good to note that the entry list can change so you may need to do this again later. The other option would be to write out the entry rather than using the index number. Example: GRUB_DEFAULT="Windows Vista (loader) (on /dev/sdc1)" – Gibado Oct 12 '16 at 2:36

How do I set Windows to boot as the default in the boot loader?

This question was discussed previously and a detailed answer could be found here...

How do I set Windows to boot as the default in the boot loader?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.