Ubuntu and Windows dual system, start with priority access to Windows system

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.