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