How to Remove Ubuntu Dual Boot from your System?
Removing Ubuntu from dual boot- Performing Dual booting on your machine is quite a great thing. Using the feature, you can easily switch between different operating systems. however; like many you are here because you want to remove Ubuntu from Dual Boot on your machine.
Basically, there is no specific tool to perform the uninstallation of the OS (Ubuntu in this case). You will need to change the boot sequence and then delete the partition.
How to Remove Dual Booting?
Before we start the procedure, let’s make sure you are not a Wubi user. If you have used Wubi for dual-booting, then you can easily delete Ubuntu and all related files within a few clicks. For removing Ubuntu from Dual booting, you will go to Control Panel > Programs and Features.
Then you will select Ubuntu and uninstall it. Uninstalling the Ubuntu will delete all the Ubuntu system files and as well as boot loader too. a single restart and dual boot are successfully removed.
However, if you have dual boot Ubuntu & Windows 10 without Wubi then you will need to change the boot loader sequence then delete the partition.
Related: How to Dual Boot macOS Big Sur and Windows 10 on PC?
1- Change boot loader
First, you will change the boot loader. Once the boot loader is configured then you can do the partition. For the partition, go to Start and type “Changeadvacnedstartupoptions” and press Enter.
You will now select the Advanced Startup option and then click on Restart now.
Here you are placed in Choose an option > Troubleshoot > Advanced options > UEFI Firmware Settings > Restart. Then you will be moved inside the BIOS settings. In BIOS settings, you will select the Boot section with your arrow keys on your keyboard.
Change the boot loader sequence and make sure the Windows ones are at the top. You will find Ubuntu or any Linux distros boot loader as “Grub bootloader”. Once the sequence is changed, press F12(on a different machine the key might differ) to save the changes and exit.
2- Disk partition for removing Ubuntu from dual boot
Now that you have changed the boot loader sequence, it is time to perform the disk partition. You will start the procedure by going to Start and typing “diskmgmt.msc”.
This will take you to Disk Management. There you will select the Ubuntu disk and will right-click on it then select Delete Volume. A pop window will appear, click on Yes.
Note: users normally find their Ubuntu drive due to its size or they still remember the disk they chose for Ubuntu. However; if you don’t remember the disk then you can check for File system and Disk type as there aren’t any on the Ubuntu drive. You will also find all the Windows disks with NTFS or FAT format and there will be always a File System in Windows disks.
Now you have unallocated space on your machines. Select your C: drive (or any Window’s drive) and right-click on it. Select the expand option and expand your drive. Give a restart and congratulation you have successfully removed Ubuntu as Dual Boot.
Related: Install Windows 10 on macOS Big Sur using Boot Camp
3- Fix bootloader
If for some reason, you experience an issue with the boot loader then you can use the method below. Most of the users experience boot loader errors while removing Ubuntu from Dual Boot.
To fix the boot loader error, you can use Windows Installer Disc or do the operation without it. With or without, you are going to overwrite the Linux bootloader (Grub bootloader) with the Windows bootloader.
Insert your USB with Windows Installer or Recovery Disk and restart your system. while your machine starts boot in Windows Installer. Select the language, region, and input method and continue to Windows Setup. Here you will click on Repair your computer and will go to Choose an option > Troubleshoot > Advanced option > Command Prompt.
Or in your Windows 10, you will go to Start and type “Changeadvacnedstartupoptions” and press Enter.
Then you will navigate through Advanced startup > Restart now > Choose an option > Troubleshoot > Advanced options > Command Prompt.
Inside the Command Prompt, you will type:
bootrec /fixmbr
and press Enter. This command will fix the boot loader. Then you will use the commands one by one:
bootrec /fixbootm
bootrec /scanos
The command above will fix the boot menu and will scan for any kind of problem. If found will fix them too.
bootrec /rebuildbcd
Use the command above and press Enter to change the primary bootloader sequence. Once the operation is completed, you will select the disk of Windows by typing the drive letter and pressing the Enter. or you will type “exit” to exit the CMD. And that is how to “Removing Ubuntu from dual boot”.