As we know, we can install multiple operating systems on a computer. Each time system boots up, we can choose which operating system to use. This is helpful in a lot of ways. Most of the users choose to install dual boot Linux alongside Windows environment.
Installing Linux is helpful in a lot of ways. Especially because it’s an open source and free to use and distribute. There are many types of Linux available in the market like Ubuntu, Red Hat Linux, Linux Mint. Each having their own uses.
Most of the people who are into programming or developing software use Ubuntu. Students use Linux OS like Red Hat or Fedora to learn to program. Linux also used in hacking, many people uses Linux for this purpose. Linux provides you great tools for penetration testing.
As we read earlier, Linux sounds great. But it is not as easy as other operating systems. Also, Linux is resource hungry. There are limited options available on Linux for entertainment purpose. There are quite a lot of reasons for users to uninstall dual boot Linux partition.
Maybe it ate a lot of your memory, your PC boot speed got slow. Also if you are a student then you might need it only for college time or you might do some mistake while installing it. So, how can you uninstall dual boot Linux partition running Windows environment alongside?
Many people might think that it is a piece of cake, just delete the partition on which you have installed Linux and that is it. Well, it is true that you will have to delete the Linux partition. But, Windows will not boot like that, we will have to restore the Windows boot loader in order to boot Windows successfully.
How to Uninstall Dual Boot Linux Partition?
In order to uninstall dual boot Linux partition, we have to follow two steps. The first step is to delete the partitions on which you have installed Linux. Then we have to restore the Windows boot loader as Linux overwrites the Windows boot loader with its own.
For restoring the Windows boot loader you will need a bootable drive like CD or USB drive. If you don’t have any bootable media lying around then you can create one. Windows allows you to create one using command prompt or you can use third party tools like Rufus or media creation tool by Microsoft. If you don’t know how to create one you can use our step by step guide.
Related Article: How to create Bootable Media? Step by Step.
Step 1: Delete The Partition Which Having Linux Installed
This step is pretty easy, you have to just delete the partitions on which you have installed Linux.
- Press Win key + R, type:
then press Enter.
- Then, you can identify the Linux partitions, usually, they don’t have any labels to their partitions under File System column.
- Right click on the partition→ select Delete Volume. If you have created another partition for Linux (Usually SWAP) then delete it too.
- Now, the deleted volume can be seen as Free Space. Now find the Windows partition nearby then right click on it→ Select Extend Volume.
- Select all the available amount of space for the extension then hit Next.
Now, you will see the partition containing Windows increased in size. That means you have successfully deleted the Linux partition from the drive. Now, you have to restore the Windows bootloader,
Step 2: Restore The Windows Bootloader
We have deleted the Linux partition from the drive, now we have to restore the Windows bootloader because the Linux overwrites Windows bootloader with its own that is GRUB. When you boot your PC, the computer will show you the following message.
This is because even if we have deleted the Linux partitions from the drive the bootloader still remains intact. We have to overwrite the GRUB Linux bootloader with the Windows bootloader. You will need to boot from bootable disk and access the command prompt from it, the instructions here is for Windows 8 and above.
- Insert or attach bootable media to your PC then restart it.
- Boot through the bootable drive and click on Repair your computer.
- On the next screen, click on the Troubleshoot icon.
- Now, go to Advance Options→ select Command Prompt.
- The command prompt window will open, type the command:
then press Enter.
- The following output will appear, that means you have successfully restored the Windows bootloader on your PC.
After that, you will need to restart your computer, then you can see your Windows operating system starting normally. If you still have any questions you can comment them down below in comment box, we would be happy to help. Feedback and suggestions are welcomed.