Fixed the Ubuntu Startup Menu

Source: Internet
Author: User
Unable to start Ubuntu: When Ubuntu is installed, the system automatically writes the GRUB boot program before the first partition. However, after Windows xp is reinstalled on the C drive, xp replaces the MBR. That is to say, rogue xp has deleted the previous GRUB without permission! If you cannot access GRUB, you cannot start Ubuntu. Solution: simply reinstall a GRUB. However, it is not that easy to switch GRUB separately, so we chose to install GRUB4DOS. First, download the latest version: http

Reasons why Ubuntu cannot be started:

When Ubuntu is installed, the system automatically writes the GRUB boot program before the first partition. However, after Windows xp is reinstalled on the C drive, xp replaces the MBR. That is to say, rogue xp has deleted the previous GRUB without permission! If you cannot access GRUB, you cannot start Ubuntu.

Solution:

It's easy to reinstall a GRUB. However, it is not that easy to switch GRUB separately, so we chose to install GRUB4DOS.

First, download the latest version:

Http://www.linuxidc.com/Linux/2007-10/8641.htm

Then, extract all the files to the c root directory (in fact, grldrand grub.exe, and menu. lst are useful)

Finally, modify two files:

Boot. inf: remove the read-only attribute of this file, and add a line c: \ grldr = "Start with GRUB4DOS" to the end"

Restart and enter "Start with GRUB4DOS". A "find and boot Linux with menu. lst already installed" option is displayed. After entering, you can enter Ubuntu.

Notes:

Time out problem: both the boot. inf and menu. lis files have the time out option. If it is 0, there is no choice, so you must rewrite it into a proper value.

The "find and boot Linux with menu. lst already installed" option is actually used to search for the Ubuntu partition in the disk. It is unnecessary to search for partitions every time you enter the disk. So we can copy the/boot/grub/menu. lst file to the root directory of the c drive after entering Ubuntu. In this way, Start with GRUB4DOS does not need to detect the Ubuntu partition.

We have installed Linux and Windows (dual-system). We may have a problem with Windows and need to reinstall it.

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.