Recover the Ubuntu startup Item installed in wubi in Windows 7/Vista

Source: Internet
Author: User
Tags wubi

My ubuntu was installed with wubi, because I used to re-partition and install it. I felt that partitioning was very troublesome. Moreover, multiple systems sometimes cause system MBR or GRUB boot errors and cannot be started, so it is very complicated, and wubi does not have any difference in the effect of installing cows. It also saves a lot of trouble, here we will explain how to fix the loss of ubuntu boot items installed with wubi in win7 or Vista.

First, let's take a look at the Ubuntu startup Option Record in win7:

[Note: Enter bcdedit In the CMD opened by the Administrator to view the startup information]

Enable slice in real mode
-------
Identifier {39bed8be-0619-11df-a4ea-f49417e653f3}
Device partition = D:
Path/Ubuntu/winboot/wubildr. MBR
Description Ubuntu

From these records, we can easily read that my system is installed on the E: disk, and the boot file is/Ubuntu/winboot/wubildr. MBR, knowing this, I think our recovery work should be very simple ~~~

Run the Windows 7 or Vista command prompt as an administrator:

Run

Bcdedit/create/D "ubuntu"/Application bootsector

At this time, the system will automatically generate a {ID}

Bcdedit/set {ID} device partition = E: -- (D: The drive letter of ubuntu installed in wubi)
Bcdedit/set {ID} path/Ubuntu/winboot/wubildr. MBR --- (this is the path of the boot file)
Bcdedit/displayorder {ID}/addlast

 

OK. After a series of operations are completed, restart your system and check if the startup Item of Ubuntu is back ~~~

 

You can use bcdedit/delete {or that string of characters}/cleanup to delete redundant options.

Related Article

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.