Hello Guys, I am back again for with with my new article on Dual Boot System, If you have dual boot system and you want to remove Ubuntu and work on Windows then follow these steps. If you have any query regarding this article mention in comment section.
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. if you want to know more about Disk Management and Partition read this article.
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.