I have Windows 7 and Ubuntu installed. When rebooting I always have to choose between those 2.How can i make Ubuntu become the first option when i boot my computer?
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.
Find this line:
Another way is to use Grub Customizer. If you don't have it you can install it:
Open your terminal and type this
then find this line (mostly line Number 13)
in set default if you place 0 it will boot to First title you have in grub.cfg and for 1 its boot to 2nd title .
so for your case it should be 0.
For what you are asking (Windows for the Default), I'll assume that you are using Wubi.
To edit the Windows Bootloader, install EasyBCD. It is a free tool (you'll have to click the "Register" Link at the bottom, although you don't need to register) that allows you to modify the Windows BootLoader in a pain-free way.
Next, launch EasyBCD. Then go to the Edit Boot Menu part, click on the Yes tickbox beside Ubuntu, then click on Save Settings. You are Done!