Article Title: The system is started by default in dual system settings. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After we have installed Multiple systems, especially Windows and Linux (Fedora/Ubuntu/RetHat) dual/multi-system, set GRUB to start windows or linux and Menu by default. the lst parameter is especially important, because we can choose which system is started by default, the stay time when the selection interface appears, and adjust the default startup sequence of the system.
1. First, we will introduce how to set which system GRUB will start by default.
Because Ubuntu/Fedora and other Linux systems use the Linux File structure, we will not talk about it here. The files mentioned below are all in the same location.
1. Open the terminal, enter "su" (excluding quotation marks), and then enter the root password.
2. After logging on to the root user, enter
Vi/boot/grub. conf 3. We will see the GRUB file information and find the text below.
# Boot =/dev/sda
Default = 0
Timeout = 0
In the following example, timeout = 0 (the default value is 0) lists all your systems. View me:
Splashimage = (hd0, 0)/grub/splash.xpm.gz
Hiddenmenu
Title Red Hat Enterprise Linux AS (2.6.27.29-170.2.78.fc10.i686)
Root (hd0, 0)
Kernel/vmlinuz-2.6.27.29-170.2.78.fc10.i686 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.27.29-170.2.78.fc10.i686.img
Title Red Hat Enterprise Linux AS (2.6.27.25-170.2.72.fc10.i686)
Root (hd0, 0)
Kernel/vmlinuz-2.6.27.25-170.2.72.fc10.i686 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.27.25-170.2.72.fc10.i686.img
Title Fedora (2.6.27.24-170.2.68.fc10.i686)
Root (hd0, 0)
Kernel/vmlinuz-2.6.27.24-170.2.68.fc10.i686 ro root =/dev/VolGroup00/LogVol00 rhgb quiet
Initrd/initrd-2.6.27.24-170.2.68.fc10.i686.img
Each title is followed by a system name.
I have three systems here. For example, if I want to start the third system "Fedora", I only
Press the "I" key on the keyboard, move the cursor behind "default = 0", and change 0 to 2 (remember that the first system code here is 0, and the second system code is 1, order ).
If you want to start the system, you can leave some time for yourself to choose which system to start. You only need to modify the value after timeout. Generally, you can change it to 3 or 5.
After modification, press 'esc ', then press ":" (that is, 'shift + ";", without quotation marks), and enter 'wq'. Your modifications will be saved, restart the instance.
If you want to use the same method when Windows is started by default, find the number in the Windows system and change default to the corresponding value.
Ii. How to modify the system sequence in GRUB and add or delete a system name
In fact, the method is also very simple. Just like "modify the system startup sequence", use vi to open the grub. conf file and modify the title.