How to restore ubuntu startup item

  
after reinstalling win7 system

The specific solution is as follows:

1, first install ubuntu->winboot folder wubidr and wubidr.mbr two files Go to the root directory of the C drive;

2, then open the run dialog box, and type "cmd" in the frame, press Enter to enter the command prompt window, and then enter "ldcd;bcdedit /create /d "linux" /application bootsector”, press Enter, you will get the name item displayed on the multi-start menu like c:windowssystem32>bcdedit /create /d "Ubuntu" /application bootsector

Dbff544b-a7c4-11dd-a51d-00155803ebb4} was successfully created.

3, then copy the id inside the {}, such as: dbff544b-a7c4 dd-a51d-00155803ebb4

4, then enter the following command (Reminder: replace the following {} The id in the second step is the id)

bcdedit /set {id} device partition=c:

bcdedit /set {id} path wubildr.mbr

Bcdedit /set {id} description "Ubuntu"

bcdedit /displayorder {id} /addlast

5, this will be able to successfully restore Ubuntu startup items.

Copyright © Windows knowledge All Rights Reserved