CentOS Change the default boot order

Source: Internet
Author: User

When we install more than one operating system, we want to customize the default boot operating system, if we have finished installing CentOS, we need to modify the Gurb, the following is to modify the gurb operation:


1, log in as root.

2, check where the grub.conf (Grub configuration file) is. Enter in Terminal: Whereis grub.conf terminal output: "Grub:/sbin/grub/etc/grub.conf~/etc/grub.conf/usr/share/grub/usr/share/man/man8/ Grub.8.gz ", we can see that the directory of grub.conf is" etc ".

3, modify grub.conf. Open this file.

A, modify the default boot operating system.

We look at a few projects headed by "title", each of which is the operating system we install, and if we want to have a default boot operating system, we need to modify the value of "Default", which is set in array mode, The value set is the number of actual operating systems in our system-1, for example, we now have two operating systems, we want to set the first default operating system, then we should set this value to 0; If you want the second to be the default operating system, then you should set this value to 1.

B, modify the wait time.

Timeout is every time we boot the operating system, we wait, this time is seconds, we can modify the time we need.

After the above changes, save this file on it, the next time you start will install our settings to start.


Reference:

http://hi.baidu.com/zdczdc/item/5c7ea9bd76093f432bebe36f

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.