My vista is installed on drive C, and Ubuntu is installed on drive F. Two days ago, vista was reinstalled and Ubuntu was repaired today. Method 1: 1. Download grub4dos, decompress it, and copy grldr and grldr. mbr to the C root directory. 2. Use bcdedit to add a new project (run as Administrator) bcdedit/create/d "GRUB"/applicationbootsector generate a {id} bc
My vista is installed on drive C, and Ubuntu is installed on drive F. Two days ago, vista was reinstalled and Ubuntu was repaired today. Method:
Method 1:
1. Download grub4dos, decompress it, and copy grldr and grldr. mbr to the C root directory.
2. Use bcdedit to add a new project (run as Administrator)
Bcdedit/create/d "GRUB"/application bootsector
Generate a {id}
Bcdedit/set {id} device partition = C:
Bcdedit/set {id} path \ grldr. mbr
Bcdedit/displayorder {id}/addlast
3. Copy the D: \ Ubuntu \ winboot \ menu. lst file from the wubi-installed ubuntu partition to the C root directory. (This file was accidentally found)
4. restart the system and go to GRUB. OK!
[PS] This method comes from the forum. I did it in this way and succeeded! So you can rest assured to use it. It should be noted that the id in step 1 should be replaced by the generated string. You can copy it in the command line. Right-click the mouse, select "mark", select the string of characters, and then copy it on the keyboard. The mouse is not allowed. Then you can paste the id, and paste it with the mouse.
Grub4dos: http://www.linuxidc.com/Linux/2009-01/18027.htm
Method 2:
Reboot. Assume that your Ubuntu is installed on F: \ ubuntu
First, modify the Ubuntu folder name, then run wubi.exe, select the f disk when setting the path, and then confirm. Select "no" when prompted to restart, and then go to drive F to delete the newly generated ubuntu folder and change the original one back.
It should be okay after restart!
Method 2: I thought it myself, but I have not tried it. I don't know if I can. I think I should. This is indeed very simple. If you try, please tell me what the result is!