Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I have a dual boot on my computer of Windows 7 and Xubuntu 12.10. The Linux boot is 1st and the Windows 2nd. I would like to reverse the boot order in the GRUB menu. I need to know the steps to go about editing GRUB.I do most of my work on Windows and need it to be 1st so I can boot up and not watch it.

share|improve this question

marked as duplicate by vasa1, hhlp, con-f-use, Stephen Myall, Chris Wilson Mar 7 '13 at 13:09

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.

2 Answers 2

I dont know if you can change the order of the menu in an easy way, but you can set the default entry.

in terminal

sudo gedit /etc/default/grub

I dont know what your grub menu looks like but lets say:

  • Ubuntu
  • Memory test
  • Windows 7

in this case if you want windows 7 to boot by default you replace GRUB_DEFAULT=0 with GRUB_DEFAULT=2

save file and in terminal:

sudo update-grub


share|improve this answer
should be gksu gedit –  endolith Mar 11 '14 at 0:36
also 13.10 doesn't have etc/default/grub? –  endolith Mar 11 '14 at 1:15

The menu entry of "Windows 7" in /boot/grub/grub.cfg may look like this:

menuentry "Windows 7 (/dev/sda1)" { #it's depend on your config

You can also write GRUB_DEFAULT="Windows 7 (/dev/sda1)" to /etc/default/grub to avoid the order problem in grub.cfg.

share|improve this answer
Just what I was looking for today! Thanks a lot bro :) –  Spirit Dec 7 '13 at 13:34

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