Grub2 change the startup sequence

Source: Internet
Author: User
Grub2 change the startup order grub2 is to determine the order of the startup items through the file order in the/etc/grub. d/directory $ cd/etc/grub.dwww.2cto.com $ ls-l-rwxr-xr-x1rootroot32962009-10-2408: 4400_header-rwxr-xr-x1root...
Grub2 is used to change the startup sequence through/etc/grub. d/directory to determine the sequence of startup items $ cd/etc/grub. d www.2cto.com $ ls-l-rwxr-xr-x 1 root 3296 2009-10-24 08:44 00_header-rwxr-xr-x 1 root 1154 2009-10-24 08:31 05_debian_theme-rwxr-xr-x 1 root root 3778 10_linux-rwxr-xr-x 1 root 772 20_memtest86 +-rwxr-xr-x1 shawn 5467 2010-04-17 52 30_oss-prober-rwxr-xr-x 1 root 214 2 483-10-24 40_custom-rw-r-1 root README allows you to create and change the file sequence to configure the startup sequence of gurb2. We only need to set the order of 30_os-prober to 10_linux before we can make windows options before linux. Copy 30_os-prober and rename it 09_os-prober. Remove the executable permission of 30_os-prober. Run update-grub and DONE.

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.