How to uninstall Linux in Windows Dual Boot setup
You may have installed Ubuntu or any other Linux distro on your PC aslope Windows 11/10. But maybe now if you don't want to use Linux anymore. In this case, y'all volition end up having a Linux sectionalization on your hard bulldoze that is taking up some disk space. In this post, we will show you how to safely uninstall Linux in Windows dual boot without losing data or applications.
If you installed Ubuntu or a like Linux distribution like Linux Mint with Wubi, yous tin can easily uninstall the distro via the Programs and Features applet in Windows x. Observe Ubuntu in the list of installed programs, then uninstall it like you would any other program. The uninstaller automatically removes the Ubuntu files and kicking loader entry from your computer.
On the other hand, if yous installed Linux to its own partition in a dual-boot configuration, uninstalling it requires removing the Linux partitions from your computer then expanding your Windows partitions to use the now-free hard disk drive infinite.
Uninstall Linux in Windows Dual Boot setup
This procedure is cleaved down into two parts, of which the offset part is to remove the Linux operating organization and the 2nd function is to repair the Master Boot Record, as just deleting the Linux partition will effect in a Grub rescue fault.
Before you brainstorm, you can back up your files and make sure you have a Windows 10 installation media handy. If you don't accept one readily available, you tin create it on a Windows x computer or on a Linux or Mac computer.
1] Delete Linux partition from Windows 10
To delete the Linux segmentation from Windows 10, practice the post-obit:
- Log into Windows 10.
Alternatively, you tin run the command beneath in an elevated CMD prompt to set the right EFI executable equally the default boot entry:
bcdedit /fix "{bootmgr}" path \efi\microsoft\boot\bootmgfw.efi
To see if the above command worked, reboot your computer. If successful, it should boot direct to Windows.
- At the desktop, press Windows key +R to invoke the Run dialog.
- In the Run dialog box, type
diskmgmt.msc
, hit Enter to open the Deejay Management tool.
Linux partitions are differentiated from Windows because they don't have a drive number and file organisation. While, Windows partitions tin be identified by the bulldoze label such as C, D, and E. They are besides usually Fatty or NTFS files.
- To delete the Linux partitions, correct-click on each one and chooseDelete Volume.
- A alarm will pop-up letting you lot know that you are trying to delete a sectionalization that wasn't created by Windows. Then, you will be asked if you want to delete it.
- SelectYes.
- Repeat the procedure to delete other Linux partitions.
Deleting the partitions will free upward space on your drive. At present, yous'll need to extend your Windows partition to occupy the free space.
After the process is complete, y'all volition see but ane volume meaning you take claimed all your deejay infinite back to Windows.
You can now continue with the next step.
ii] Repair the Primary Boot Record (MBR)
Linux has now been removed from your computer, just its boot loader persists. Nosotros'll demand to use a Windows installation media to repair and rebuild MBR so every bit to overwrite the Linux boot loader with the Windows kicking loader.
Note: If the bootrec.exe /fixmbr
command didn't work, you lot tin can endeavor Automatic Repair from the Avant-garde troubleshooting options.
Once done, you can now restart your computer. It volition boot from its hard drive, starting Windows usually. All traces of Linux should now be erased – only, if when you boot the reckoner and you lot're presented with the dual-boot menu, listing the Linux distro you lot've simply removed along with the Windows x OS, you lot can remove the dual-boot menu, so that the PC boots directly into Windows ten when you lot restart your computer, by following these steps:
- Press Windows central + R to invoke the Run dialog.
- In the Run dialog box, blazon
msconfig
and striking Enter. - Get toBoottab.
- Select the Windows 10 entry.
- Click Set equally Defaultbutton.
- You tin delete the Linux entry by selecting information technology and then clicking the Deletebutton.
- ClickEmploy.
- ClickOK.
- Restart your computer.
That'south it!
Source: https://www.thewindowsclub.com/how-to-uninstall-linux-in-windows-10-dual-boot-setup
Posted by: nelsontherip.blogspot.com
0 Response to "How to uninstall Linux in Windows Dual Boot setup"
Post a Comment