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.

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?

share|improve this question
    
What Ubuntu version? For 12.04, this should already be the default behavior. Do you want the choice, or delay to be removed also? –  david6 Jun 29 '12 at 22:55

3 Answers 3

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

gksu gedit /etc/default/grub

Find this line:

GRUB_DEFAULT=0

0 is now set for Windows 7, change it to the number associated with Ubuntu

Another way is to use Grub Customizer. If you don't have it you can install it:

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
share|improve this answer

Open your terminal and type this

sudo gedit /boot/grub/grub.cfg

then find this line (mostly line Number 13)

set default="0"

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.

share|improve this answer

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!

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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