方方长长

方方长长

Set the default startup system to win10 for dual system win10 and ubuntu.

index_img: https://pic.uc23.net/uploads/images/thumbnews/2020/0609/1591696802823739.jpg
title: Set default startup system as win10 for dual boot win10 and ubuntu
date: 2022-11-17 16:38:20
updated: 2022-11-17 16:38:20
comments: true#

After installing Ubuntu 20.04 system under win10, the default startup system is Ubuntu.

To set the default startup system as win10, follow these steps:

  1. Enter the ubuntu system and press Ctrl+Alt+T to open the terminal.

  2. Enter the command:

    or go to the /etc/default/ folder, open the terminal, and enter the command:

    sudo gedit grub

    Modify the 6th line GRUB_DEFAULT=0 to the system number you want to start by default, and save after setting;

    The system number is the menu order when starting, starting from 0. Ubuntu is the default first, with a number of 0. Win10 is usually the 5th, with a number of 4. So set GRUB_DEFAULT=4.

  3. Enter the (sudo) update-grub command to update the grub file.

  4. Restart the system to default to the Windows system.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.