How to set Windows 10 as default in Ubuntu (grub) boot loader

 The following steps show how to set Windows 10 as the default operating system when using the Ubuntu (grub) boot loader.

This is for when you are dual-booting Windows 10 and Ubuntu.

We’ll be using the Grub Customizer software by Daniel Richter.

Step 1: Install the Grub Customizer software

  1. If you haven’t already, boot into Ubuntu
  2. Click on the ‘Show Applications’ icon at the bottom right on the screen
  3. Type “terminal” and click on the icon when it appears 
  4. In the terminal – run the following command
  5. sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  6. Enter your password
  7. Press ‘Enter’ on your keyboard when prompted
  8. Now run the following command
  9. sudo apt-get update
  10. When it’s done, run the following command and enter ‘Y’ when prompted
  11. sudo apt-get install grub-customizer

Step 2: Change the boot order

  1. Click on the ‘Show Applications’ icon at the bottom right on the screen
  2. Type “Grub” and click on the Grub Customizer icon when it appears 
  3. Enter your password in the prompt and click ‘Authenticate’
  4. In the list you will see the item for your Windows 10 installation. Click on it.
  5. Now use the arrows in the toolbar to move it to the top of the list.
  6. Click ‘Save’
  7. Now restart your computer and confirm that Windows 10 is now the default boot option.

Related Articles

One comment on “How to set Windows 10 as default in Ubuntu (grub) boot loader

  1. Thank you,

    however, running the command 13 hits a 404:

    sudo apt-get update
    Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
    Hit:2 http://ca.archive.ubuntu.com/ubuntu focal InRelease
    Hit:3 http://ca.archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:4 http://ca.archive.ubuntu.com/ubuntu focal-backports InRelease
    Ign:5 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu focal InRelease
    Err:6 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu focal Release
    404 Not Found [IP: 91.189.95.83 80]
    Reading package lists… Done
    E: The repository ‘http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu focal Release’ does not have a Release file.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

Leave a Reply

Your email address will not be published.