Restore Ubuntu in Windows 7

Source: Internet
Author: User
Tags wubi
Originally, Windows XP + Ubuntu (wubi installation) was replaced with Windows 7. Considering the Ubuntu boot after the system was changed, the C drive "wubildr" and "wubildr. copy the mbr file and enter Windows7. Then restore the above two files to the root directory of the c drive and Enter cmd to enter the command line bcdedit/create/d "linux"/applicationbootsectorbcdedit/s.

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 ".

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.