LinuxAndUbuntu - Linux News | Apps Reviews | Linux Tutorials HowTo
  • Home
    • Linux >
      • Ubuntu
      • Linux Mint
      • Fedora
      • Arch Linux
      • Open Suse
      • Other Linux Distros
  • Store
  • Video Tutorials
  • Linux Themes
  • FAQs
  • Become a Regular writer
  • Contact Us
  • Donate
  • Block Adblock
  • Favorites
  • Ubuntu Releases
  • Linux Mint Releases

How To Change Boot Order/Set Default Boot OS In Ubuntu 14.10/15.04 / Linux Mint Or Other Derivatives

31/8/2015

Comments

 
Picture
If you are dual booting then probably you have suffered through a problem of booting into wrong OS or secondary OS because it's on top of grub menu. Recently somebody asked this to me that How can he boot into his primary OS by default. So I thought to write a tutorial. If you want to boot into your preferred OS without always pressing 'down arrow key' when you turn on your computer then read further for the solution. Let's go ahead!

YouNex asked me yesterday that how can he boot his primary OS automatically unless he wants to boot his secondary OS. Well, this simply means everything should be same, but the primary OS should be on top so that grub boots the top (selected by default) after some seconds. In his case, he was using Ubuntu as primary OS and Windows as secondary OS. 

So now all we need to do is that we need to change the grub menu order and take the primary OS on top of other. I did face this problem when I triple boot Ubuntu 15.04, Windows and ChelvetOS. ChelvetOS was on top but I was using Ubuntu as primary OS. Whenever I missed arrowing down to Ubuntu, It boot ChelvetOS which is frustrating. And here is how I solved this problem.

Change Grub Menu Boot Order In Ubuntu 14.10 / 15.04 / Linux Mint Or Other Derivatives

You can install grub customizer tool in Ubuntu to customize grub menu. Add the following PPA from terminal, update local repositories and install grub customizer.
$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
$ sudo apt-get update
$ sudo apt-get install grub-customizer

How To Use Grub Customizer In Linux

launch grub customizer in ubuntu linux
Grub Customizer is a small tool and once installation finished, launch it from menu or dash. This needs the password to start. Type password and there you go!

change grub boot order in ubuntu linux
Now the following window will come up. Notice all the entries of boot menu. We want to change the order of the entries. Select the entry that you want to take up or down then press 'UP' or 'DOWN' arrows from tool menu. It's simple. Isn't it? Now once you've done customizing grub menu, don't forget to save settings. 

Go from beginner to advanced with this Linux course
Linux Administration Bootcamp: Go from Beginner to Advanced
Join This Course
Linux Course Store

How To Set Default Boot With Linux Terminal

$ sudo gedit /etc/default/grub
OR use nano terminal based test editor
$ sudo nano /etc/default/grub
Change GRUB_DEFAULT=0 to GRUB_DEFAULT=saved. It makes easy to later change default OS.

Now update the grub menu from terminal.
$ sudo grub-set-default 3
Remember 3 is the entry number and the first entry is 0.

[How To] Change Grub Menu Colors In Linux

change grub menu color in ubuntu linux
With Grub customizer tool you can also customize grub menu background color, font color and background highlight color. To do so move to 'Appearance settings' and customize colors of grub menu. 

If you don't want to use any third party tool like grub customizer then you can also change default boot from terminal and gedit text editor or nano, command line text editor. 

Open terminal (CTRL + ALT + T) and edit '/etc/default/grub'.
Now whenever you will boot your computer, you don't need to press down arrow key to your primary OS. It'll be booting automatically.

Now you can set the default OS with the following command followed by the number of the entry in the grub menu.
$ sudo update-grub


Related articles
Comments
comments powered by Disqus

    Most Read Articles

    5 Lightweight Linux For Old Computers
    20 Best Themes For Ubuntu In 2017

    8 Best IDEs Or Code Editors For Linux
    8 Best IDEs Or Code Editors For Linux

    3 best twitter clients for linux
    [How To] Install Latest NVIDIA Drivers In Linux

    Ubuntu Vs. Linux Mint - Which Is Better in 2016?
    5 Lightweight Linux For Old Computers

    dual boot ubuntu and windows
    10 Basic Linux Commands That Every Linux Newbies Should Remember

    dual boot ubuntu and windows
    6 Best Linux Distributions For Programming


    Translate Our Site





    Notice : Please be careful, after translation commands will change.

About LinuxAndUbuntu

​​LinuxAndUbuntu.com  focuses on open source projects but  specific on debian based distributions. We also give value to other linux distributions.

Links

Ubuntu.com
Video Tutorials
Tutorials & HowTos
Privacy Policy
Contact us

Like Us

More From LinuxAndUbuntu

Contribute  Your Work
Advertise
Donate Us

RSS Feed

Picture
Ubuntu is a registered trademark of  Canonical Ltd.

Any material in this site can not be reproduced without permission.
  • Home
    • Linux >
      • Ubuntu
      • Linux Mint
      • Fedora
      • Arch Linux
      • Open Suse
      • Other Linux Distros
  • Store
  • Video Tutorials
  • Linux Themes
  • FAQs
  • Become a Regular writer
  • Contact Us
  • Donate
  • Block Adblock
  • Favorites
  • Ubuntu Releases
  • Linux Mint Releases
✕