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.
    
There is a box up there called search, Use it this has been answered already. –  Uri Herrera Jan 27 '12 at 5:39
2  
@UriHerrera If this has been answered already, then shouldn't you link to the duplicate? –  WarriorIng64 Jan 27 '12 at 7:05
    
@WarriorIng64 Links won't show up correctly on my mobile and i can't seem to be able to click the "Vote to close" button. –  Uri Herrera Jan 27 '12 at 8:00
add comment

marked as duplicate by Takkat, jokerdino, Bruno Pereira, Octavian Damiean, Jorge Castro Jan 27 '12 at 16:03

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

(When I searched "make windows boot first" in the askubuntu search box, I had trouble finding a post that answered this question, so I'll answer it here).

I'm going to presume that you are using grub (if you don't know what it is, you are probably using it).

You can change the boot order by editing the menu.lst file located in /boot/grub/.

When you look into menu.lst, you want to scroll down to blocks of text that look something like the following:

title        ....
root         ....
kernel       ....
...
initrd       ....

The block that begins with

title        Windows ...
...

Is the windows entry that shows up on boot. If you want this to be both the first and default entry, you can copy the entire block of text, and paste it just right before the first "title ..." block.

You will have to do this as root (so try gksudo gedit /boot/grub/menu.lst and make the edits). When you reboot, by default you will boot into windows. Note that because reading Linux filesystems from Windows requires more setup, it is probably best to do this in Linux.

Edit:

Actually after a little more searching, I think the suggestion in this post is probably a lot safer.

share|improve this answer
6  
If he has installed any recent version of Ubuntu, he is likely using Grub 2, which doesn't use the menu.lst file (it uses grub.cfg instead, which has a different format). So this answer might not help. –  James Henstridge Jan 27 '12 at 7:06
add comment
sudo su
cd /etc/grub.d/
mv 40_custom 08_custom
update-grub

this will pull Windows entry in the boot loader on top

share|improve this answer
add comment

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