It was painful time with Ubuntu and Windows Dual Boot Information. With my foolish thoughts I removed the native Linux Partition where I had installed Ubuntu Linux 10.04. Also I removed the boot sector. Then I decided to install 11.04 under Windows Partition itself. Just installed Ubuntu and rebooted to finish the installation. Yea it was gone. It displayed a grub rescue command prompt and I was in blues.
Somehow I managed to get the Windows 7 boot USB to repair my startup for Windows. Again it had happened. The Master Boot Record wasn’t promptly recognized by Windows. It says no problems at all with your Windows Installation. What’s next. I have tried several options to like Fixing the MBR with command line and exporting and importing the boot record and importing it again to corrupt the MBR and tried the repair again. No ways!
Finally how I had to recreate the MBR. How do we do that? (BTW, do this at your own risk. Don’t blame me later)
1. Insert your bootable DVD/USB or Startup repair disc to your computer.
2. Choose Recovery options.
3. Click on Startup Repair and check if it works.
If doesn’t work
4. Open the command window and enter the following commands
bootrec.exe /fixmbr
bootsect.exe /nt60 all /force
bootrec.exe /rebuildbcd
Now you’re done. Reboot your PC and see if it works. Under Windows Vista, you will have to change to X:\boot\ folder to access bootrec and bootsect executable.