How to modify the default startup system (Linux and Windows) on a machine with two systems installed)

Source: Internet
Author: User
Linux is a very powerful operating system, but it is difficult to completely convert to Linux. For this reason, many people prefer to retain dual systems (Linux & amp; Windows) and Linuxbootloaderthough (known as Grub). Linux is usually started by default. here we will talk about it...
Linux is a very powerful operating system, but it is difficult to completely convert to Linux. For this reason, many prefer to retain the dual-system (Linux & Windows), Linux boot loader though (known as Grub), which usually starts Linux by default, here we will talk about how to change this point. Note: The Linux version we use is Ubuntu. Method 1: graphic method if you are not very familiar with the command line, or you just want to use a wonderful graphic interface, this is what you want! 1) We need to install a program called startupmanager. We can find it in the Ubuntu Software Center. Click install ).
2) after the installation is complete, start it and type your user password in the prompt box.
3) on the Boot options tab, click the drop-down menu under Default operating system. Then select Windows as your default startup system.
4) click Close, and you will see that StartUp-Manager is finishing the remaining work.
Method 2: Use the command line method. if you want to use the command line method, you may know a little about VI.
1) open a Terminal window (CTRL + ALT + T) 2) find the sequence number of Windows OS startup. Type the command: cat/boot/grub. cfg | grep menuentry
In the screenshot below, you will see "Windows 7... "is the fifth entry, but because the number of slogans starts from 0, the actual number of slogans should be 4.
3) edit/etc/default/grub and enter the command: sudo vim/etc/default/grub, change GRUB_DEFAULT to 4, save the file, and exit.
4) update the modification of the boot loader. Enter the command: sudo update-grub OK. You can start the system. If you have any questions, please comment.
Appendix:
Http://howto.cnet.com/8301-11310_39-20111987-285/how-to-change-the-boot-order-of-a-dual-boot-linux-pc/

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.