Windows 7 deletes Ubuntu 10.04 boot by mistake

Source: Internet
Author: User

Run the bcdedit command on Windows 7 and delete the startup of ubuntu 10.04 by mistake. As a result, UBUNTU cannot be started after Windows 7 is restarted. The solution is as follows:

 

It turns out that Windows XP + ubuntu (wubi installation) is replaced with Windows 7. Considering the Ubuntu boot after the system is changed, copy the drive C "wubildr" and "wubildr. MBR" for backup.

After entering Windows 7, restore the above two files to the C root directory.

Enter "cmd" to enter the command line

Bcdedit/create/D "Linux"/Application bootsector

Bcdedit/set {ID} device partition = C:

Bcdedit/set {ID} path/wubildr. MBR

Bcdedit/set {ID} description "ubuntu"

Bcdedit/displayorder {ID}/addlast

Restart and select "ubuntu ".

 

 

Through the above method, we successfully entered ubuntu. Through this experience, we have a better understanding of bcdedit!

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.