After Windows 7 and XP are reinstalled, retrieve the Ubuntu startup Item installed in Wubi.

Source: Internet
Author: User
Recover the Ubuntu startup Item in Vista or Windows 7 (Ubuntu installed with Wubi) recently re-installed Windows 7 (similar to vista). If you don't want to leave the previously installed Ubuntu with no startup Item, Windows 7 (similar to vista) no boot. INI file editing method, Because Ubuntu was installed in Windows with wubi! Solution: 1. Install wubidr and wub In the ubuntu-& gt; winboot folder.

Recover the Ubuntu startup Item in Vista or Windows 7 (Ubuntu installed with Wubi)

Recently, Windows 7 (vista is the same) has been reinstalled, so I don't want to let the previously installed Ubuntu have no startup items, and Windows 7 (vista is the same) has no boot. INI file editing method, Because Ubuntu was installed in Windows with wubi!

Recovery Method:

1. Copy the wubidr and wubidr. mbr files in the ubuntu-> winboot folder to the C root directory.

2. Open "run" in the attachment as Administrator"

Run c:/windows/system32> bcdedit/create/d "Ubuntu"/application bootsector on the command line

After the operation is successful (if it is not run as administrator, it may be rejected), a string of number IDs will be obtained as follows:

{B8779cc7-c9b2-11de-908b-c8405850ad4a}

3. Copy the id in {}, such as: b8779cc7-c9b2-11de-908b-c8405850ad4a

4. Enter the following command (Note: Replace the id in {} with the id obtained in step 1)

Bcdedit/set {b8779cc7-c9b2-11de-908b-c8405850ad4a} device partition = c:

Bcdedit/set {b8779cc7-c9b2-11de-908b-c8405850ad4a} path/wubildr. mbr

Bcdedit/set {b8779cc7-c9b2-11de-908b-c8405850ad4a} description "Ubuntu Linux"

Bcdedit/displayorder {b8779cc7-c9b2-11de-908b-c8405850ad4a}/addlast

If everything succeeds, the Ubuntu Linux option will appear after the restart.

Restart Ubuntu installed in Wubi after Windows XP is reinstalled.

I had to reinstall xp because of a serious problem recently, but I didn't want to reinstall Ubuntu. That's my hard work for a month. After installing xp, I regret it, however, when I saw two wubi files on the ubuntu disk, I felt hopeful. I remember the boot. after installing Ubuntu in ini, there will be one more.

C: \ wubildr. mbr = "Ubuntu"

I copied the wubidr and wubidr. mbr files in the ubuntu-> winboot folder to the root directory of the C drive. Then I used notepad to open the boot. ini file on the C drive and added it to the last line.

C: \ wubildr. mbr = "Ubuntu"

And then save and restart.

The ubuntu startup Item I want is displayed.

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.