In fact, it is easy to modify the dual-system startup sequence after Ubuntu is installed. Modify the/boot/grub/menu. lst file to change the default value. The process is as follows: 1. Open the command line terminal; 2. Enter sudocp/boot/grub/menu. lst/boot/grub/menu. lst. baksudogedit/boot/grub/menu. lst note: the first statement is used for backup.
In fact, it is easy to modify the dual-system startup sequence after Ubuntu is installed. Modify the/boot/grub/menu. lst file to change the default value.
The process is as follows:
1. Open the command line terminal;
2. input:
Sudo cp/boot/grub/menu. lst/boot/grub/menu. lst. bak
Sudo gedit/boot/grub/menu. lst
Note: The first statement is used for backup.
3. Assume that the file content is as follows:
# Menu. lst-See: grub (8), info grub, update-grub (8)
# Grub-install (8), grub-floppy (8 ),
# Grub-md5-crypt,/usr/share/doc/grub
# And/usr/share/doc/grub-doc /.
# Default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# The entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# Is the entry saved with the command 'savedefault '.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# Array will desync and will not let you boot your system.
Default 0
# Timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (Normally the first entry defined ).
Timeout 10
# Hiddenmenu
# Hides the menu by default (press ESC to see the menu)
# Hiddenmenu
#### End Default Options ##
Title Ubuntu, kernel BRL. 15-23-386
Root (hd0, 2)
Kernel/boot/vmlinuz-2.6.15-23-386 root =/dev/hda3 ro quiet splash
Initrd/boot/initrd. img-2.6.15-23-386
Savedefault
Boot
Title Ubuntu, kernel 2.6.15-23-386 (recovery mode)
Root (hd0, 2)
Kernel/boot/vmlinuz-2.6.15-23-386 root =/dev/hda3 ro single
Initrd/boot/initrd. img-2.6.15-23-386
Boot
Title Ubuntu, memtest86 +
Root (hd0, 2)
Kernel/boot/memtest86 +. bin
Boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# Ones.
Title Other operating systems:
Root
# This entry automatically added by the Debian installer for a non-linux OS
# On/dev/hda1
Title Microsoft Windows XP Professional
Root (hd0, 0)
Savedefault
Makeactive
Chainloader + 1