Modify the boot menu in Ubuntu. First enter the terminal, and then enter sudogedit/boot/grub/menu. lst. Note that the extension here is LST, not LIST. Enter your logon password and a text editor will pop up. There is a lot of information in this text, and do not care about the information starting with "#", because it is only a comment and does not work for startup. You can modify the following parameters: default: the following number indicates which operating system you choose
Modify the boot menu in Ubuntu. First enter the terminal, and then enter sudo gedit/boot/grub/menu. lst. Note that the extension here is LST, not LIST. Enter your logon password and a text editor will pop up.
There is a lot of information in this text, and do not care about the information starting with "#", because it is only a comment and does not work for startup. The following parameters can be modified:
Default: the following number indicates the default Operating System to be selected, starting from 0. 0 indicates the first Operating System
Timeout: the number that follows the Start Menu, in seconds.
To solve the problem that the Startup Menu disappears after XP is installed, directly use the live CD to boot to linux, then enter the terminal, and enter the following command sudo grub.
Grub> is the prompt, followed by the command to be entered. At the grub prompt, you only need to enter three commands to retrieve the boot menu. The first one is find/boot/grub/stage1, the second is root (the result of the previous one), and the third is setup (hd0 ).
Hd0 represents the first hard disk, and 8 represents the 9th partitions on the hard disk.