Skip to main content
May 03, 2016

Many of you tried dual-booting with Linux and Windows installation and maybe deleted the Linux partition. I'm sure that you still remember pain when you realized that Windows wouldn't boot anymore.

The solution for this situation is to reinstall Windows boot loader. Here is how to fix it:

Recovering boot loader in Windows XP:

1) Boot the system from your Windows XP-CD, just like you booted the Linux-CD/DVD before

2) Start the recovery/repair console (not the repair installation)

3) Type

fixmbr.exe

4) Press Enter

5) Reboot

Recovering boot loader in Windows 7 and Windows Vista

1) Boot the system from your Vista/7-DVD, just like you booted the Linux-CD/DVD before

2) Start the recovery/repair console

3) Type

bootrec.exe /fixmbr

4) Press Enter

5) Reboot

Tip: If you don't have a Windows 7 / Vista DVD you can download a free 90-days trial of Windows 7 Enterprise here. So you can use that for re-installing the bootloader for Windows Vista/7.