If the installation of Ubuntu on the basis of Windows system, the system will default to the Ubuntu system when booting, of course, the selection interface can be manually selected into the Windows system;
1 List of alternative startup items
There are usually ubuntu/ubuntu advanced options/.../windows 10 options, the sequence number of options starting from 0
2 Enter the Ubuntu system and open the Terminal window, enter the command "cd/etc/default/" and press ENTER to confirm
3 input command "sudo sudo nano grub" and press ENTER to confirm
4 Enter the current admin account password according to the prompt of the popup command
5 Password verification will open the GRUB file, we can see the default "Grub_default=0"
6 based on the serial number of the Windows option (note starting from 0), we changed "0" in "grub_default=0" to "5"
7 Press Ctrl+x, and then enter "Y" to save the edited file
8 When asked again, we press ENTER to confirm
9 then enter the command "sudo update-grub"
10 after the update is complete, after restarting the computer we can see that the boot entry by default is the 6th item "Windows" is selected.
Ubuntu and Windows dual system, start with priority access to Windows system