Win7 and Ubuntu 13.04 Dual Systems Modify the boot entry order

Source: Internet
Author: User

After installing Ubuntu 13.04 under Win7, in Grub, Win7 startup is the last one, and you need to change the grub settings to set the Win7 as the default startup item. Google for a long time, found that the change/etc/default/grub is invalid, open the/boot/grub/grub.cfg, which says "Do not EDIT this FILE", and I found that even if you changed the set_ Once the default is executed, the boot order is update-grub. Then continue the search and find that two methods are effective.

Method one uses the startup manager

1. Install Startup Manager

sudo apt-get install Startupmanager

2, open the System--> System Management--> Boot Manager, in the default operating system drop-down menu select Win7, Close can.

Method Two change the file name under the/ETC/GRUB.D directory is feasible

By default Win7 corresponds to the filename is 30_os-prober, the first Linux system corresponds to 10-linux,00 is header,05 is debian-theme, visible 10 is the first startup item, only need to change the Win7 file name ( 06-09 can be) can change the starting order, after my test, successfully modified the boot sequence.

Specific practices:

sudo mv/etc/grub.d/30_os-prober/etc/grub.d/08_os-prober

sudo update-grub (this command regenerates/boot/grub/grub.cfg)

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.