• Home
  • Linux Tutorials
  • How To Change Boot Order/Set Default Boot OS In Ubuntu & Linux Mint Or Other Derivatives

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

If you are dual booting then probably you have suffered through a problem of booting into the 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 the 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 a 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 others. 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 a primary OS. Whenever I missed arrowing down to Ubuntu, It boots ChelvetOS which is frustrating. And here is how I solved this problem.

Change Grub Menu Boot Order In Ubuntu, Linux Mint Or Other Derivatives

You can install the grub-customizer tool in Ubuntu to customize grub menu. Add the following PPA from the 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 the 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 the 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 the tool menu. It’s simple. Isn’t it? Now once you’ve done customizing grub menu, don’t forget to save settings.  


MassiveGRID Banner
10 Comments Text
  • IN LINUX SERVER HAVE booting error its “attempting cd-rom”
    i change boot sequnce 1sr prority to hard drive….in that hard drive beside (see boot order) came its not booting kindly please suggest me

  • If you set Windows 10 as your default OS, how would you boot into Ubuntu if it boots the default automatically

    • you dont, if you are using a dual boot with grub you should have the timeout used still… and if you dont.. the menu will appear if you press and hold Shift during loading Grub, if you boot using BIOS. When your system boots using UEFI, press Esc

  • grub.customizer in Mint.
    My Mint 19.1 does not accept the line
    $ sudo apt-get install grub-customizer , all other was accepted.
    How could this be solved?
    Thankfully Peter (new to Linux)

    • My Mint 20 did the same but I just updated and tried the install and it worked. I imagine its in Mint’s default repositories now.

  • I am on Ubuntu 19.10. When I start the grub-customizer, I get a prompt for the password to become priv’d, which I give, then I get a flash, and then… nothing. How do I at least log the error so I can tell you what’s wrong?

  • A lot to go through. Why doesn’t Linux allow us to choose when we are setting up a dual-boot system which operating system we want to start first and how many seconds before the system launches? :-\

  • Leave a Reply

    Your email address will not be published. Required fields are marked *