I've had problems with grub ubuntu, when I select the booting windows 7, it turns out there is a message "grub rescue". and I can not boot through windows 7, I finally took the initiative to check it through ubuntu. after I see it, it turns out that the partition in the grub list, is on sda3, however, the partition is on sda2. after I change to use:
$ sudo gedit /boot/grub/grub.cfg
There was still a "grub rescue", after that, I try to update the grub with the command :
$ sudo update-grub
After running the command above, the problem has not been fixed, and still can not boot windows 7. Then i try to delete grub ubuntu, go to grub rescue on windows 7 :
bcdedit /export C:\BCD_Backup
C:
CD Boot
Attrib bcd –s –h –r
ren c:\boot\bcd bcd.old
bootrec /RebuildBcd
Then appear Messages :
“Scanning all disks for windows installations.
Please wait, since this may take a while…
Successfully scanned windows installations: 1
[1] C:\windows
Add installations to boot list? Yes(y)/No(N)/All(A) : “
And Press Y Enter
Then :
bootrec /fixmbr
bootrec /FixBoot
After Finished, Grub is gone, but still can't booting from Window 7. Now, i finaly found solution from this problem.
Install Burg Manager. from here or here, after installing burg manager, you will see message, An explanation more or less like this: " i can fix this problem, problem is fixed "
Then you can booting from Windows 7. i finally found this solution by two day.