I tried to install Ubuntu 10.04 on my HP dv6-2150us laptop but I was greeted with no wireless networking so I promptly erased the Ubuntu partition. After restarting, I got an error from grub stating that was no operating system. I knew I had to restore the Windows Boot Loader.
I thought the Windows 7 automatic repair system would kick in eventually, but it didn’t. Moving along, fixing the problem is incredibly easy. You’re going to need a Windows 7 installation disk. I had a Windows 7 Home Primium disk lying around, so I used that. I don’t know if a recovery disc you made will actually work, but you can try it.
Put your Windows 7 disk (W7D) in the optical drive and start up the computer. Then, boot from CD. Since I was using an HP laptop, I needed to hit escape and then hit F9 to boot from disc. You’re computer may be different. Once you boot into the disc, it’ll ask you to pick a language and keyboard setup. Just pick whatever you like and hit next. Now, you’ll see a huge Install Now button. Don’t click it. Look below it for Repair.
Once that comes up, you’ll see a few options but look for open command line. You’ll be entering a frightening command line. Once the command line opens up, enter
Bootrec.exe /FixMbr. If the command works, it will say it was successful. That should be it, close the command line window and hit the restart button.