I followed a guide to restore MBR. The reason for doing this was because I originally had a Sony vaio which has Windows on. I installed Linux on it then wanted to revert back to Windows and read that the way to do it was to restore MBR. So I did this now when I boot I am stuck on a black screen with one line saying "MBR 1FA:". I really need help, my laptop has been in this state for a while now. I was told to try and boot from gparted on a live USB but I was getting another error. Can anyone please help me out here
@Harvey, that's why I asked you the question above. Restoring MBR would restore the Windows boot record if you had created a dual boot system, which doesn't seem to be the case.
If you want to revert to Windows now, you must boot from the Windows installation DVD and do a brand new Windows installation. Windows will fix your MBR error automatically.
Restoring the MBR does not restore the OS. The OS exists on the partition, and you removed the partition, when you wrote over it with your Ubuntu install. That isn't your only problem though. According to How Can I Get Recovery Disks for a SONY VAIO Model: PCV-A1111L VPCL111FX/B, which I also linked in the comment, you may or may not have a hard copy of your restore set, because you unknowingly didn't know you needed to create it. In my Opinion, starting with Windows 8, all PC's contain UEFI, and USB is usable as a restore medium. As such, it now falls upon the end-users to create the restore set.
Since you can no longer create the restore set yourself, you must now buy a pre-made restore set. I can tell you from personal experience that this works, as I restored an older Dell machine. There are a couple of online retailers that sell the set you need to acquire: