Modify the Ubuntu boot menu and some instructions

Source: Internet
Author: User
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.

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.