Windows 7 ubuntu16.04 Dual system boot

Source: Internet
Author: User

After the dual system is installed, the default startup item is Ubuntu, and there is no Windows 7 startup option, online find a method, a friend introduced directly modified/boot/grub/ Grub.cfg file, but the file comments indicate that the file is automatically generated, in order to avoid an unknown error, it is not recommended to modify the file directly, then how to modify the default boot order?

Open Terminal

Switch to the root user or enter sudo gedit/etc/default/grub in the terminal

Change the text "Grub_default=0" in 0 to the Win7 system sequence number 4, (generally 4, remember to save. You can also modify the default wait time by modifying 10 in "grub_timeout=10". When you're done, click "Save" and then close.

The following step is also more critical, in the terminal input "sudo update-grub", that is, update the grub.cfg file, so that the changes take effect.

Restart the machine to see if the changes were successful.

Do not forget to save the file after modifying grub and update the configuration with "sudo update-grub".


This article is from the IT technology blog, so be sure to keep this source http://linuxubuntu.blog.51cto.com/4964714/1859283

Windows 7 ubuntu16.04 Dual system boot

Related Article

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.