Windows and Ubuntu dual-Start Menu repair

Source: Internet
Author: User
First of all, I want to talk about the Windows boot menu, not the Grub menu. If I want to fix the Grub boot menu, I don't have to look down the Grub boot menu, because I think the font is a little ugly, I need to restore it to the Windows boot menu and use it to guide Ubuntu. Note: The method here cannot be used directly for XP, but it works the same way, after a slight change, you can use the first step to install Windows and then install Ubuntu. Then, the MBR will be changed to the Gurb program. How can this problem be restored? Me

First of all, I want to use Windows boot menu instead of Grub.

I personally do not like to use the Grub boot menu, because I think the font is a little ugly, so I need to restore it to the Windows boot menu and use it to guide Ubuntu

Note: The method here cannot be directly used for XP, but the principle is the same. You can use it after a slight change.

Step 1

After installing Windows and then installing Ubuntu, the MBR will be changed to the Gurb program. How can this problem be restored? I am a Windows 7 system and use a Windows 7 installation disk (Vista can also be used ). Go to the installation page, select "Install now" or "repair computer", select "repair computer", scan the hard disk by the repair program, find your system, and click "Next, it will have "automatic problem Repair", "System Restoration "...... "Command Prompt" and other options, select "command prompt", and then enter the command

Bootrec.exe/fixmbr

In this way, the boot menu of Win7 or Vista will be back. Restart your computer and go to Windows. Note: you cannot enter the Ubuntu Startup menu at this time. You need to change the menu in Windows.

Step 2

The boot of drive C is used here. if you are familiar with XP, you should know that the XP boot menu is saved in boot. in ini, the Start Menu of Vista and Win7 is no longer used. Instead, use BCD. However, boot. ini is also useful for Vista and Win7 boot menus. We just want to use this.

The principle is: although the boot menu of Vista and Win7 does not use boot. ini, but if the root directory of the system disk (usually drive c) contains boot. ini, the boot program will also load boot. the startup information in ini is displayed together with the startup information in BCD, so we have a very simple method: Use glrdr and boot. guide Ubuntu through ini

Download this: glrdr

Extract the two files to the System Disk root directory, and create boot. ini in the system disk root directory. The content is as follows:

[Boot loader]
[Operating systems]
C: \ grldr. mbr = "Ubuntu 10.04 ″

Ubuntu 10.04 can be changed to any text you like.

In fact, glrdr. mbr only guides you into a Grub environment.

Then create a menu. lst file under the root directory of the C drive (we all know what this is for if we have used Ubuntu, huh, huh)

It is based on the original Ubuntu boot file (9.10 and 10.04 are/boot/gurb/grub. cfg. The previous version is/boot/grub/menu. lst) to write this boot file. For accessing Ubuntu partitions in Windows, if you only want to copy some files (as required in this article), use DiskGenius,

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.