Brief: This beginner’s guide shows you how to safely remove Ubuntu from Windows dual boot.
I have covered how to install Ubuntu in dual boot with Windows 8 several times in the past. But what about uninstalling Ubuntu from Windows dual boot? Tutorial, which we are going to follow here applies to any Linux distribution be it Ubuntu, Linux Mint, elementary OS or any other Linux distribution.
If you think installing Ubuntu with Windows in dual boot was a tough task and it will be very easy to remove Ubuntu from Windows dual boot, you are not completely wrong. Uninstalling Linux from Windows dual boot is a piece of cake if you have a Windows installation disk.
This tutorial teaches you how to remove Linux completely from Windows 8.1 or Windows 10 dual boot with a Windows installation disk.
Uninstall Ubuntu safely from Windows dual boot mode
It doesn’t matter if you have Windows 8 installation disk and Windows 8.1 installed on your system. It will work all the same. I cannot say the same of Windows 7 and Windows 10 though. Just to put emphasis on it:
You must have a DVD or USB of installed Windows version.
In fact, you can easily download and create Windows 10 live USB. If you have your Windows disk with you, let’s see how to remove Ubuntu from dual boot Windows.
Deleting Linux from dual boot is done in two parts. First is to delete the partition(s) on which Linux was installed. The second part is to fix Windows boot loader as just deleting the Linux partition will result in Grub rescue error.
Part 1: Deleting Linux partition in Windows
Log in to Windows. Press Windows+R and run diskmgmt.msc command in it. It will open the Windows disk management tool.
Since you had installed Linux, it will be easy for you to recognize the Linux partition by its size. Another hint to recognize the Linux partition is to look at the partitions which doesn’t have a file system and drive number. Windows partition are labeled with a drive number such as C, D, E etc and are usually in NTFS or FAT file system.
As you can see, I have three Linux partitions here as I had created root, swap and home separately while installing Ubuntu.
Select the Linux partition(s), right click on it and opt for Delete Volume option.
It will throw you a warning, just select Yes here.
The deleted partition(s) will be available as a chunk of free space. You can either extend the existing volume or create a new Windows partition out of it. I would suggest to create a new drive (or volume or partition, whatever you call it) as a new drive would be easier in case you decide to dual boot Linux with Windows again.
Part 2: Fixing Windows boot loader
Once you have deleted the Linux partition, it’s time to fix the Windows boot loader. Pictures here are might not be that clear as it is easier to take screenshot of login screen in Ubuntu than in Windows. I took them with phone camera.
Put the Windows 8 installation disk and restart your computer. Press F10 or F12 at the boot time to go into BIOS/UEFI and choose to boot from removable disk.
Choose to repair your computer:
Go for Troubleshoot option here:
In troubleshoot page, choose for Advanced options:
Look for command prompt option in here:
In the command line, type the following command to fix the Windows boot loader:
Normally, it works instantly. You don’t even have to wait for it.
Once it’s done, restart your computer and this time boot normally from hard disk. You should be able to boot in to Windows. In case you still see Grub rescue error, try the steps below.
Step 8: If trick in step 6 did not work
If the command in step 6 did not work, try the automatic repair option in advanced troubleshoot option.
It will take some time to find the issue and then repair it.
Now if you reboot, you should go in Windows normally and you should not see any Grub rescue error thingy.
I hope this guide helped you to safely remove Ubuntu from Windows 10 dual boot. Feel free to ask any questions or put up a suggestion.