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