How To Uninstall Linux Or Windows From Dual Boot System

How To Uninstall Linux Or Windows From Dual Boot System

PlayStation 4 Hacked to Run Linux
86% Of Critical Vulnerabilities Affecting Windows Could Be Avoided By Removing Admin Rights
Why its better to choose Windows 64-bit over 32-bit ?

Most of us are dual booting operating system in our computers, means installing two operating systems in separate partition instead of using VMware or VirtualBox. Mostly people installs Linux-Windows combination in dual boot system. And always messes up during uninstalling either one of this OS from their system. In this article we will show you how to uninstall Linux or Windows from dual boot system.

Most of users uses Windows version of OS in their systems, but their are some nerds who want both Linux and Windows. And after couple of months some of them wanted to switch to a single operating system, either Linux or Windows and most of them always break their boot sequence while uninstalling Linux or Windows. For those guys this tutorial will help, actually uninstall Linux or Windows from dual boot system is not that difficult. So lets start :

Also Read : The best Linux distro for beginners

Uninstall Linux And Keep Windows

First method for those who wants to stick on regular Windows version and like to uninstall Linux OS from their system.

  • First go to “Start Menu” and search for “Disk Management” and open up the Disk Management tool or you can simply hit “Windows key + R” to open Run dialogue box and type “diskmgmt.msc” to open Disk Management tool.
  • Next find out your Linux partition. It won’t be labeled since Windows doesn’t understand the Linux file system, so you’ll need to figure out which one it is by size and where it is on your hard drive.
  • Before moving to next step make sure you choose right partition. Now right click on Linux partition and choose “Delete Volume“. This will delete the partition from your hard drive, leaving free space.
  • Now you can see the deleted partition in green color labeling “Free Space“. Next, locate the Windows partition near the newly available free space, right-click it, and select Extend Volume. Extend the partition so that it takes up all of the available free space. Any free space on your hard drive will remain unusable until you assign it to a partition.
  • Yes you uninstall Linux from your system but its boot loader persists. So insert your Windows recovery media and boot from it. Choose “Repair Your Computer” go to “Troubleshoot” and then enter into Command Prompt. Type the following command:
bootrec.exe /fixmbr
  • And this will remove or uninstall Linux bootloader and replace it with Windows.
  • Reboot your computer and you should find that it boots directly into Windows, with no Linux partition to be found.

Also Read : Microsoft’s Windows Subsystem For Linux – More Details About How Bash On Windows 10 Works

Uninstall Windows And Keep Linux

This one is for those nerds who like to be a full time Linux user or who hate Microsoft and their spying paid operating system. Mostly process varies with distros but the common method as follows :

  • Insert a live CD or USB for your Linux distribution and start up its partition manager (like Gparted). Find your Windows partition in Gparted’s menu—it’ll be listed as an NTFS drive.
  • Right-click on that Windows partition and choose “Delete” from the menu. Your machine may have other Windows-related partitions as well, like “System Reserved” and recovery partitions. If you want, you can delete these as well (but make sure you have recovery discs handy if you’re going to delete a recovery partition).
  • Right-click on your Linux partition and choose “Resize/Move“. Resize it so it takes up the rest of the now-free space on your drive.
  • Click the “Apply All Operations” button in the toolbar to perform the selected tasks. It may give you a warning saying that your computer may not boot, but with most Linux installations this shouldn’t be a problem (though if it is, check out this article to fix it). This process may take some time, so let it be!
  • When it finishes, you should have a hard drive with nothing but Linux on it. Your boot menu will still have some Windows entries, and it’ll work fine if you leave them there, but if you want to clean things up, just open up a Terminal in Linux and run:
sudo update-grub

to remove them.

So this is how to uninstall Linux or Windows from dual boot system.If you are stuck during any process feel free to seek out our help by commenting below.

Also Read : UNIX vs Linux – How UNIX Differ From Linux


  • comment-avatar
    Adwaith 5 months

    thank you…successfully uninstalled Linux mint from my system….

  • comment-avatar
    Ravi Shankar 5 months

    Yes as you said by deleting partition I uninstalled ubuntu linux but when I restart my pc, its showing GRUB RESCUE and can’t find an option to launch command prompt. please help

    • comment-avatar

      You must need Windows recovery media to launch Command prompt after uninstalling Linux.
      First insert your recover media, it may be a CD or usb flash drive.
      Then restart your pc
      Then go to “Troubleshoot”
      Then Advance options
      There you can see Command prompt.