Fedora20 change the default startup Item and change the startup wait time (grub2 boot)

Source: Internet
Author: User
Note: ### BEGINetcgrub. d ####### ENDetcgrub. d ### exists. Just in case, you can back up the file first. (The above method is too long, and there is another way to modify grub. cfg) 1. Check several boot items during startup and remember to change them to the default start position. It starts from 0. (It may be faster.

Note: ### BEGIN/etc/grub. d/####and ### END/etc/grub. d/### exist. Just in case, you can back up the file first. (The above method is too long, and there is another way to modify grub. cfg) 1. Check several boot items during startup and remember to change them to the default start position. It starts from 0. (It may be faster.

Note: ### BEGIN/etc/grub. d/####and ### END/etc/grub. d/### exist. Just in case, you can back up the file first.


(The above method is too long. There is another way to modify grub. cfg)


1. Check several boot items when starting, and remember to change them to the default start position. It starts from 0. (It may be faster. Move the up/down key and let it stay for a while)

2. grub. cfg is read-only by default. Use the Administrator account to modify the attributes of the file # chmod 775/boot/grub2/grub. cfg.

3. Modify the default start option, # vi/boot/grub2/grub. cfg

Modify set default = '0'. If you want to change it to the first few, write it. My win7 is 8th, so change it to default = '7 '. Save and exit.

4. Change the file back to the read-only attribute. # Chmod 400/boot/grub2/grub. cfg

You can restart the instance.

PS: At the same time, you must first install win7 and then install fedora. Otherwise, no guidance is provided.

--------------------------

You can also use gedit to open the grub configuration file:

Sudo gedit/etc/default/grub

Enter the following command in the terminal to update the startup Item configuration file (optional ):

Grub2-mkconfig-o/boot/grub2/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.