Restart the Ubuntu startup Item after Windows XP, Vista, and Windows 7 are reinstalled.

Source: Internet
Author: User
Tags wubi
[Available in the following] 1. After you reinstall XP, restore the Ubuntu startup Item (Ubuntu installed with wubi). I will install wubidr and wubidr In the Ubuntu-& gt; winboot folder. copy two mbr files to the root directory of the C drive, and then use NotePad to open the boot. ini, add c: \ wubildr to the last row. mbr = "Ubuntu", and then save and restart the Ubuntu startup Item I want !!! Ii. vista

[Available in the following]

1. Restore the Ubuntu startup Item after reinstalling XP (use Ubuntu installed with wubi)

I copied the wubidr and wubidr. mbr files in the Ubuntu-> winboot folder to the root directory of the C drive, 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 !!!

Ii. Restore 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. In "run", Enter cmd to the command prompt.

In the command interface bcdedit/create/d "linux"/application bootsector

We can see c: \ windows \ system32> bcdedit/create/d "Ubuntu"/application bootsector.

// The name item {dbff544b-a7c4-11dd-a51d-00155803ebb4} displayed on the Multi-boot menu is successfully created.

3. Copy the id in {}, such as: dbff544b-a7c4-11dd-a51d-00155803ebb4

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

Bcdedit/set {id} device partition = c:
Bcdedit/set {id} path \ wubildr. mbr
Bcdedit/set {id} description "Ubuntu"
Bcdedit/displayorder {id}/addlast

Linux community (Linuxidc) statement: the Linux community published this article for the purpose of transmitting more information, does not mean to agree with its views or confirm its description.

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.