How to Remove Linux Boot Loader from Startup After Deleting Linux Partitions?

If you have a dual-boot computer system with Linux and Windows operating systems, you probably know that when you start your computer, it shows Linux boot loader at startup which contains Linux and Windows boot entries. If you select Windows from the OS list, it starts Windows and if you select Linux, it boots into Linux distro.

Imagine a situation when you want to remove/uninstall Linux from your system and want to use only Windows operating system, how will you do it?

Many times people directly delete or format the hard disk partitions which contain Linux operating system but it doesn't completely remove Linux. The Linux boot loader still appears at system startup but since you deleted Linux partitions, the boot loader gets corrupted and your system becomes unbootable.

If you are also facing this problem or if you have faced this problem in past and could not get a working solution, then this tutorial will definitely help you.

This tutorial will help you in completely removing or uninstalling Linux operating system and its boot loader from a dual-boot computer:

STEP 1: Remove Linux Boot Loader from Startup

Before deleting or formatting Linux partitions, you'll need to remove Linux boot loader from system startup.

You'll need to boot using Windows setup disc. You can use setup disc of any Windows version such as Windows 98, 2000, XP, Vista, 7, 8/8.1 or later.

Using Windows Vista and Later Windows Versions DVD:

Boot using setup disc and DO NOT click on "Install now" button. Look for a link "Repair your computer" present in bottom-left corner of the window, click on it.


It'll open a new window, do not change anything and click on Next button. Now setup will show "System Recovery Options" screen where you can perform startup repair, system restore, etc. Click on "Command Prompt" link given at the bottom of the list.


It'll open Command Prompt window, now run following command:

bootsect /nt60 SYS /mbr

Exit from Command prompt and restart your system.

Using Windows 2000, Windows XP or Windows Server 2003 CD:

Boot using setup disc and enter into "Recovery Console" by pressing "R" key, select your Windows installation and enter Administrator password. If you don't have any password, press Enter key. Now run following command:


Press "Y" to confirm and type Exit to exit from recovery console.

Using Windows 98 CD:

Boot into Command Prompt and run following command:

fdisk /MBR

Exit from command prompt by typing Exit and press Enter.

Above steps will remove the Linux boot loader from startup and you'll directly boot into Windows operating system.

STEP 2: Delete or Format Linux Partitions

Now you can safely delete or format hard disk partitions which contained Linux operating system. You can delete/format them using "Disk Management" tool in Windows as mentioned in following tutorial:

How to Restrict / Hide / Remove Drives in Windows Explorer?

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Troubleshooting, Windows 7, Windows Vista, Windows XP

Other similar articles that may interest you


Leave a Comment