Ubuntu and Windows dual system modify default startup item

Source: Internet
Author: User

The computer is installed on the Windows system and then installed to Ubuntu. Before default start Ubuntu, now want to change over.
The operation process is as follows:enter in terminal: sudo gedit/boot/grub/grub.cfg (you may need to enter a password at this point, you can enter it)When you open it, you'll see the following document (where you need to modify it to locate the scroll bar of the open document)

A statement labeled "1" is a statement that controls the default system. The argument to the right of the equals sign is "1", because Ubuntu is the second in my system (if you know something about programming, you should know that the array is numbered from the "0" number). The "1" of the statement can be modified according to the following content. So how do you know that the system you want to start by default is the first, in the document shown, and then looking down, there will be a code similar to the one shown here:

, labeled "2" is the setting of the System Selection screen display time, here I set to 6 seconds, you can choose according to their own needs. , I also marked two places, one marked no.0 (No. 0) and the other labeled the first (number 1th). It is easy to see it, no.0 is the window 7 system, the top is the Ubuntu system, according to this order down the number can be, so in the upper you can see set default= "1" (I set Ubuntu to boot the default boot system).

Set boot default system, just modify set default= "1" set the time that the boot System Selection screen displays, just modify set timeout= "6"after the setup is complete, save the document and restart to see that the default system and interface display time has been completely modified according to your settings.

Ubuntu and Windows dual system modify default startup item

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.