Linux – Need to fix Windows MBR without using a CD

bootlinuxmbrwindows 7

I have a laptop which was Linux/Windows 7 dual-boot. I need to get rid of the Linux partition so that it only boots into windows.

I know how to do this if I have the Windows 7 CD(which I do). But this laptop does not come with a CD drive.

Is there anyway to do this without using the CD?

Best Answer

Do the following

  1. Start a cmd shell running as administrator (Start / Search / cmd / right-click Run as Administrator)
  2. Type bcdboot c:\windows

That will re-write the MBR and so remove grub and re-install the Windows loader.