Centos7 change Bootstrap wait time

Source: Internet
Author: User

Grub is no longer needed for centos7. Use grub2 instead.

[Root] # vi/boot/grub2/grub. cfg

Locate and change the start time (timeout)

[Root] # grub2-mkconfig-O/boot/grub2/grub. cfg
[Root] # reboot

Restart and check the startup timeout wait time

Supplement:
/*
/Etc/default/grub and/etc/grub. d /????
*/

I. Boot win7:
1. Use root to open/boot/grub2/grub. cfg
2. Find ### begin/etc/grub. d/30_os-prober ###
Add
Menuentry "Windows 7 "{
Insmod NTFS
Set root = (hd0, 2)
Chainloader + 1
}
Note: Set root = (hd0, 2) Where hd0 represents the hard disk, and 2 represents the C disk.

2. Modify the boot sequence:

Grub2-set-default "Windows 7"

Verify default startup items:

Grub2-editenv list

Output:

Saved_entry = Windows 7

Execute after completion

Grub2-mkconfig-O/boot/grub2/grub. cfgreboot

Original article: http://www.cnblogs.com/keleman/archive/2017/04/30/6790795.html

Centos7 change Bootstrap wait time

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.