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