Statement: I use Ubuntu12.04 and Windows7, but I have not conducted any experiments in other Linux versions or Windows. Generally, when Ubuntu and Windows are used for dual-system boot, the OS will be preferentially started. Of course, you can also sit in front of the computer when you want to choose the OS, in this article, you can press the power button to automatically enter the operating system you want to enter. This article will solve two key problems: the operating system with the preferred startup and the selection between different operating systems
Statement: I use Ubuntu 12.04 and Windows 7, but I have not conducted any experiments on other Linux versions or Windows.
Generally, when Ubuntu and Windows are used for dual-system boot, the OS will be preferentially started. Of course, you can also sit in front of the computer when you want to choose the OS, in this article, you can press the power button to automatically enter the operating system you want to enter.
This article will solve two key problems: the operating system with the preferred startup and the time selected between different operating systems
1. Boot OS with priority
Enter sudo gedit/boot/grub. cfg in the terminal (note the space between the command and Path)
Then, the system will use gedit to automatically open the text in the above path. There is a set default = "" Statement at around 13 rows. What we need to do is to modify the number in double quotation marks, this number is the first operating system to be started. It must be noted that this number is counted from 0. If you want to prioritize windows, and you choose from the boot item that knows your windows in the N-bit, then double quotes fill in the N-1.
2. Time Selected between different operating systems
The default value is 10 seconds for different systems. If you think this time is not suitable, you can set it by yourself, the method is to ctrl + f in the text you just opened to search for set timeout. At this time, different colors will be used in the text to mark the place where set timeout appears. You just need to modify the lower one.