Windows and linux -- modify the default startup sequence

Source: Internet
Author: User

Windows and linux -- modify the default startup sequence

Windows 7 and Ubantu are installed on the computer. Because Linux is rarely used and the default startup Item is intolerable, you have to change Windows to the default startup Item.

Since the system boot program on the computer is GRUB, the modifications will certainly fall into the Linux system.

Modify/boot/grub. cfg the default boot item in this file (the first one is automatically loaded by default, default = "0 "), this file is important because it backs up the file (cp/boot/grub. cfg/boot/grub. cfg. back)

Five options are selected for boot on the computer, while the options for Windows are exactly 5th. Therefore, you can change the default boot item from 0 to 4 by default.


Before modification (grub. cfg. back is backed up before modification ):


After modification:



Note that the grub. cfg file is a read-only file, so the modification must be forcibly modified by the root user.



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.